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