llvm-project/llvm/test/CFrontend/2005-07-28-IncorrectWeakGlo...

6 lines
135 B
C
Raw Normal View History

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