llvm-mirror/test/CFrontend/2005-07-28-IncorrectWeakGlobal.c
2007-01-17 07:59:14 +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;