diff options
Diffstat (limited to 'test/CodeGen/2003-08-20-PrototypeMismatch.c')
-rw-r--r-- | test/CodeGen/2003-08-20-PrototypeMismatch.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGen/2003-08-20-PrototypeMismatch.c b/test/CodeGen/2003-08-20-PrototypeMismatch.c new file mode 100644 index 000000000000..fa42ca581a0a --- /dev/null +++ b/test/CodeGen/2003-08-20-PrototypeMismatch.c @@ -0,0 +1,15 @@ +// RUN: %clang_cc1 -emit-llvm %s -o /dev/null + + + +static int foo(int); + +static int foo(C) +char C; +{ + return C; +} + +void test() { + foo(7); +} |