mirror of
https://github.com/intel/llvm.git
synced 2026-02-06 15:18:53 +08:00
6 lines
145 B
C
6 lines
145 B
C
// RUN: %clang_cc1 %s -emit-llvm -o - | grep TheGlobal | not grep weak
|
|
|
|
extern int TheGlobal;
|
|
int foo() { return TheGlobal; }
|
|
int TheGlobal = 1;
|