Clang Project

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