Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6f0bca7a0ababdfe141f7b1c0435f4ff71d1bff5
/
.
/
test
/
CodeGen
/
2010-12-01-CommonGlobal.c
blob: 5eadbae6e3a6854ceb070438330959c69b838926 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
// Don't crash on a common-linkage constant global.
extern
const
int
kABSourceTypeProperty
;
int
foo
(
void
)
{
return
kABSourceTypeProperty
;
}
const
int
kABSourceTypeProperty
;