Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / constructor-init-reference.cpp
blobe61b93325fd8b33ee047ab5d3db34e360821fc8a
1 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s
3 int x;
4 struct A {
5 int& y;
6 A() : y(x) {}
7 };
8 A z;
9 // CHECK: store ptr @x, ptr