| Tanya Lattner | ca21187 | 2004-11-06 22:41:00 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null |
| 2 | |||||
| Chris Lattner | 7224240 | 2002-01-23 21:40:57 +0000 | [diff] [blame] | 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 | } | ||||