[llvm-commits] CVS: llvm/test/Regression/CFrontend/2005-07-28-IncorrectWeakGlobal.c
Chris Lattner
lattner at cs.uiuc.edu
Thu Jul 28 13:18:44 PDT 2005
Changes in directory llvm/test/Regression/CFrontend:
2005-07-28-IncorrectWeakGlobal.c added (r1.1)
---
Log message:
New testcase for PR610: http://llvm.cs.uiuc.edu/PR610
---
Diffs of the changes: (+5 -0)
2005-07-28-IncorrectWeakGlobal.c | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/test/Regression/CFrontend/2005-07-28-IncorrectWeakGlobal.c
diff -c /dev/null llvm/test/Regression/CFrontend/2005-07-28-IncorrectWeakGlobal.c:1.1
*** /dev/null Thu Jul 28 15:18:43 2005
--- llvm/test/Regression/CFrontend/2005-07-28-IncorrectWeakGlobal.c Thu Jul 28 15:18:33 2005
***************
*** 0 ****
--- 1,5 ----
+ // RUN: %llvmgcc %s -S -o - | grep TheGlobal | not grep weak
+
+ extern int TheGlobal;
+ int foo() { return TheGlobal; }
+ int TheGlobal = 1;
More information about the llvm-commits
mailing list