[llvm-commits] CVS: llvm/test/Regression/CFrontend/2004-02-20-StaticRedeclare.c.tr
Chris Lattner
lattner at cs.uiuc.edu
Fri Feb 20 11:33:02 PST 2004
Changes in directory llvm/test/Regression/CFrontend:
2004-02-20-StaticRedeclare.c.tr added (r1.1)
---
Log message:
PR244: [llvm-gcc] miscompilation when a function is re-declared as static
---
Diffs of the changes: (+9 -0)
Index: llvm/test/Regression/CFrontend/2004-02-20-StaticRedeclare.c.tr
diff -c /dev/null llvm/test/Regression/CFrontend/2004-02-20-StaticRedeclare.c.tr:1.1
*** /dev/null Fri Feb 20 11:32:34 2004
--- llvm/test/Regression/CFrontend/2004-02-20-StaticRedeclare.c.tr Fri Feb 20 11:32:24 2004
***************
*** 0 ****
--- 1,9 ----
+ // RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep declare
+
+ int one (int a) {
+ two (a, 5);
+ return 0;
+ }
+
+ static int two (int a, int b) {
+ }
More information about the llvm-commits
mailing list