Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
aeac10e7b074d87522ccc5fad919417092971c57
/
.
/
test
/
CodeGenCXX
/
2004-01-11-DynamicInitializedConstant.cpp
blob: 0c9333fb6d7a0dba6daa9591568f3712e29944fe [
file
] [
log
] [
blame
]
Eric Christopher
aeac10e
2011-08-20 00:17:18 +0000
[
diff
] [
blame^
]
1
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
3
// CHECK-NOT: constant
4
extern
int
X
;
5
const
int
Y
=
X
;
6
const
int
*
foo
()
{
return
&
Y
;
}