xref: /llvm-project/clang/test/CodeGenCXX/reference-bind-default-argument.cpp (revision c6e68daac0fa6e77a89f3ca72f266a528503dd1c)
1 // RUN: %clang_cc1 %s -emit-llvm-only -verify
2 // expected-no-diagnostics
3 
4 struct A {};
5 struct B : A {};
6 void a(const A& x = B());
b()7 void b() { a(); }
8