1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/FrontendC/2005-07-28-IncorrectWeakGlobal.c

6 lines
135 B
C
Raw Normal View History

2005-07-28 22:18:33 +02:00
// RUN: %llvmgcc %s -S -o - | grep TheGlobal | not grep weak
extern int TheGlobal;
int foo() { return TheGlobal; }
int TheGlobal = 1;