1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/FrontendC/2003-11-26-PointerShift.c

7 lines
198 B
C
Raw Normal View History

// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2004-11-06 23:41:00 +01:00
2003-11-26 08:35:52 +01:00
unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
if (2 & (unsigned long) buff) result += 1;
return result;
}