Sign in
fuchsia
/
third_party
/
swift-clang
/
a40ea3abe6e2f0b338d00c38fe7d724241c5af97
/
.
/
test
/
CodeGen
/
2004-03-07-ExternalConstant.c
blob: 2de3a69bd679cc61a4a0ed06a316904c9cd09245 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
// CHECK: @a = external constan
extern
const
int
a
[];
// 'a' should be marked constant even though it's external!
int
foo
()
{
return
a
[
0
];
}