Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / merge-all-constants-references.cpp
blob76c6f292ef4219926664edc35ad6bb58db62296d
1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -fmerge-all-constants %s -o /dev/null
3 struct A {
4 };
6 struct B {
7 const struct A& a = {};
8 };
10 void Test(const struct B&);
12 void Run() {
13 Test({});