Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -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 | } |