diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/Regression/CFrontend/2003-08-20-PrototypeMismatch.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/Regression/CFrontend/2003-08-20-PrototypeMismatch.c b/llvm/test/Regression/CFrontend/2003-08-20-PrototypeMismatch.c new file mode 100644 index 00000000000..b2535c7a530 --- /dev/null +++ b/llvm/test/Regression/CFrontend/2003-08-20-PrototypeMismatch.c @@ -0,0 +1,13 @@ + + +static int foo(int); + +static int foo(C) +char C; +{ + return C; +} + +void test() { + foo(7); +} |