Testcase for PR157

llvm-svn: 10237
This commit is contained in:
Chris Lattner 2003-11-26 07:35:52 +00:00
parent 6789a0b1d4
commit 9192f90865
1 changed files with 4 additions and 0 deletions

View File

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