blob: 5a9edf452a4f1f68c4020c03861f07dbf4a623bd [file] [log] [blame]
// { dg-options "-std=gnu++98" }
template <class T >
struct S
{
S() : S() {} // { dg-message "delegating constructors" }
}; // { dg-error "delegates to itself" "" { target *-*-* } .-1 }
S<int> s;