mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
bf08e82d8e
llvm-svn: 79992
7 lines
198 B
C
7 lines
198 B
C
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
|
|
|
|
unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
|
|
if (2 & (unsigned long) buff) result += 1;
|
|
return result;
|
|
}
|