New testcase for PR610

llvm-svn: 22545
This commit is contained in:
Chris Lattner 2005-07-28 20:18:33 +00:00
parent 1ec48e8683
commit 7727bbfb06
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
// RUN: %llvmgcc %s -S -o - | grep TheGlobal | not grep weak
extern int TheGlobal;
int foo() { return TheGlobal; }
int TheGlobal = 1;