Dan Gohman | fea1dd0 | 2009-08-25 15:38:29 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null |
Tanya Lattner | e9af5d1 | 2004-11-06 22:41:00 +0000 | [diff] [blame] | 2 | |
Chris Lattner | b95e7d5 | 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 | } |