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