Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
027bb9254199bee2b99253de8fab55d14d4e2639
/
.
/
test
/
FrontendC
/
2004-03-07-ExternalConstant.c
blob: b8e13a35548a42a037bb92c534e209aee0e54f89 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep constant
extern
const
int
a
[];
// 'a' should be marked constant even though it's external!
int
foo
()
{
return
a
[
0
];
}