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 | } |
12 |
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 | } |
12 |