[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-08-20-PrototypeMismatch.c

Chris Lattner lattner at cs.uiuc.edu
Wed Aug 20 13:26:01 PDT 2003


Changes in directory llvm/test/Regression/CFrontend:

2003-08-20-PrototypeMismatch.c added (r1.1)

---
Log message:

Whoa, GCC accepts this.  Whack.


---
Diffs of the changes:

Index: llvm/test/Regression/CFrontend/2003-08-20-PrototypeMismatch.c
diff -c /dev/null llvm/test/Regression/CFrontend/2003-08-20-PrototypeMismatch.c:1.1
*** /dev/null	Wed Aug 20 13:25:15 2003
--- llvm/test/Regression/CFrontend/2003-08-20-PrototypeMismatch.c	Wed Aug 20 13:25:04 2003
***************
*** 0 ****
--- 1,13 ----
+ 
+ 
+ static int foo(int);
+ 
+ static int foo(C)
+ char C;
+ {
+   return C;
+ }
+ 
+ void test() {
+   foo(7);
+ }





More information about the llvm-commits mailing list