1 // RUN: %clang_cc1 %s -emit-llvm-only -verify
2 
3 struct A {};
4 struct B : A {};
5 void a(const A& x = B());
6 void b() { a(); }
7