Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / reference-bind-default-argument.cpp
blob5cf279f62a185a4e422be88c27a1c0b8122a90a0
1 // RUN: %clang_cc1 %s -emit-llvm-only -verify
2 // expected-no-diagnostics
4 struct A {};
5 struct B : A {};
6 void a(const A& x = B());
7 void b() { a(); }