mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Whoa, GCC accepts this. Whack.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7986 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0dac47a551
commit
e84a6d0e7d
13
test/CFrontend/2003-08-20-PrototypeMismatch.c
Normal file
13
test/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…
Reference in New Issue
Block a user