☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
2010-12-01-CommonGlobal.c
☽
☼
clang/test/CodeGen/2010-12-01-CommonGlobal.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
// Don't crash on a common-linkage constant global.
3
extern const int kABSourceTypeProperty;
4
int foo(void) {
5
return kABSourceTypeProperty;
6
}
7
const int kABSourceTypeProperty;