mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
Whoa, GCC accepts this. Whack.
llvm-svn: 7986
This commit is contained in:
parent
f96d581c69
commit
0970a82701
13
test/Regression/CFrontend/2003-08-20-PrototypeMismatch.c
Normal file
13
test/Regression/CFrontend/2003-08-20-PrototypeMismatch.c
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
|
||||
static int foo(int);
|
||||
|
||||
static int foo(C)
|
||||
char C;
|
||||
{
|
||||
return C;
|
||||
}
|
||||
|
||||
void test() {
|
||||
foo(7);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user