Clang Project

clang_source_code/test/CodeGen/2005-07-28-IncorrectWeakGlobal.c
1// RUN: %clang_cc1 %s -emit-llvm -o - | grep TheGlobal | not grep weak
2
3extern int TheGlobal;
4int foo() { return TheGlobal; }
5int TheGlobal = 1;
6