Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
CodeGen
/
2005-07-28-IncorrectWeakGlobal.c
blob: 7419b19cedb6f6299853a68006cf51088dedb922 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o - | grep TheGlobal | not grep weak
extern
int
TheGlobal
;
int
foo
(
void
)
{
return
TheGlobal
;
}
int
TheGlobal
=
1
;