// RUN: %clang_cc1 -fsyntax-only -Wall -verify %s template struct A { A() : a(1) { } // expected-error{{incompatible type passing 'int', expected 'void *'}} T a; }; A a0; A a1; // expected-note{{in instantiation of member function 'A::A' requested here}} template struct B { // FIXME: This should warn about initialization order B() : b(1), a(2) { } int a; int b; }; B b0; template struct AA { AA(int); }; template class BB : public AA { BB() : AA(1) {} }; BB x;