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