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 | /* Regression test. Just compile .c -> .ll to test */ | ||||
4 | int foo(void) { | ||||
5 | unsigned char *pp; | ||||
6 | unsigned w_cnt; | ||||
7 | |||||
8 | w_cnt += *pp; | ||||
9 | |||||
10 | return w_cnt; | ||||
11 | } |