Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
CodeGenCXX
/
constructor-init-reference.cpp
blob: e61b93325fd8b33ee047ab5d3db34e360821fc8a [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s
int
x
;
struct
A
{
int
&
y
;
A
()
:
y
(
x
)
{}
};
A z
;
// CHECK: store ptr @x, ptr