Tanya Lattner | e9af5d1 | 2004-11-06 22:41:00 +0000 | [diff] [blame^] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null |
2 | |||||
Chris Lattner | 7dd9334 | 2003-11-26 07:35:52 +0000 | [diff] [blame] | 3 | unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) { |
4 | if (2 & (unsigned long) buff) result += 1; | ||||
5 | return result; | ||||
6 | } |