[llvm-commits] CVS: llvm/test/Regression/CFrontend/2004-07-06-FunctionCast.c
Chris Lattner
lattner at cs.uiuc.edu
Tue Jul 6 21:21:09 PDT 2004
Changes in directory llvm/test/Regression/CFrontend:
2004-07-06-FunctionCast.c added (r1.1)
---
Log message:
New testcase for PR396: http://llvm.cs.uiuc.edu/PR396
---
Diffs of the changes: (+8 -0)
Index: llvm/test/Regression/CFrontend/2004-07-06-FunctionCast.c
diff -c /dev/null llvm/test/Regression/CFrontend/2004-07-06-FunctionCast.c:1.1
*** /dev/null Tue Jul 6 21:20:12 2004
--- llvm/test/Regression/CFrontend/2004-07-06-FunctionCast.c Tue Jul 6 21:20:02 2004
***************
*** 0 ****
--- 1,8 ----
+ static int unused_func(void) {
+ return 1;
+ }
+
+ int foo(void) {
+ (void)unused_func; /* avoid compiler warning */
+ return 2;
+ }
More information about the llvm-commits
mailing list