1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/test/Regression/CFrontend/2005-07-28-IncorrectWeakGlobal.c
Chris Lattner 941a101c38 New testcase for PR610
llvm-svn: 22545
2005-07-28 20:18:33 +00:00

6 lines
135 B
C

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