Files
carbon-lang/clang/test/CodeGenCXX/constructor-init-reference.cpp
T

10 lines
154 B
C++

// RUN: %clang_cc1 -cxx-abi itanium -emit-llvm -o - %s | FileCheck %s
int x;
struct A {
int& y;
A() : y(x) {}
};
A z;
// CHECK: store i32* @x, i32**