1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/test/Regression/CFrontend/2003-11-26-PointerShift.c
Chris Lattner e90fe26507 Testcase for PR157
llvm-svn: 10237
2003-11-26 07:35:52 +00:00

5 lines
146 B
C

unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
if (2 & (unsigned long) buff) result += 1;
return result;
}