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

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;