| Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null |
| 2 | |||||
| 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 | } | ||||