1// RUN: %clang_cc1 -fsyntax-only -verify %s
2// expected-no-diagnostics
3struct B { B(void* = 0); };
4
5struct A {
6  A(B b = B()) { }
7};
8
9void f() {
10  (void)B();
11  (void)A();
12}
13