[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / meminit1.C
blob5a9edf452a4f1f68c4020c03861f07dbf4a623bd
1 // { dg-options "-std=gnu++98" }
2 template <class T >
3 struct S
5   S() : S() {} // { dg-message "delegating constructors" }
6 }; // { dg-error "delegates to itself" "" { target *-*-* } .-1 }
8 S<int> s;