| 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
|---|---|
| 2 | |
| 3 | |
| 4 | |
| 5 | static int foo(int); |
| 6 | |
| 7 | static int foo(C) |
| 8 | char C; |
| 9 | { |
| 10 | return C; |
| 11 | } |
| 12 | |
| 13 | void test() { |
| 14 | foo(7); |
| 15 | } |
| 16 |
| 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
|---|---|
| 2 | |
| 3 | |
| 4 | |
| 5 | static int foo(int); |
| 6 | |
| 7 | static int foo(C) |
| 8 | char C; |
| 9 | { |
| 10 | return C; |
| 11 | } |
| 12 | |
| 13 | void test() { |
| 14 | foo(7); |
| 15 | } |
| 16 |