Sign in
cobalt
/
cobalt
/
refs/heads/21.lts.1+
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGenCXX
/
2004-01-11-DynamicInitializedConstant.cpp
blob: 0c9333fb6d7a0dba6daa9591568f3712e29944fe [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
// CHECK-NOT: constant
extern
int
X
;
const
int
Y
=
X
;
const
int
*
foo
()
{
return
&
Y
;
}