Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / 2005-07-28-IncorrectWeakGlobal.c
blob7419b19cedb6f6299853a68006cf51088dedb922
1 // RUN: %clang_cc1 %s -emit-llvm -o - | grep TheGlobal | not grep weak
3 extern int TheGlobal;
4 int foo(void) { return TheGlobal; }
5 int TheGlobal = 1;