xref: /llvm-project/clang/test/CodeGen/2003-08-20-PrototypeMismatch.c (revision 1ea584377e7897f7df5302ed9cd378d17be14fbf)
1 // RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
2 
3 
4 
5 static int foo(int);
6 
foo(C)7 static int foo(C)
8 char C;
9 {
10   return C;
11 }
12 
test(void)13 void test(void) {
14   foo(7);
15 }
16