Debian Codegraph @

gcc/testsuite/g++.dg/template/meminit1.C

raw
1 // { dg-options "-std=gnu++98" }
2 template <class T >
3 struct S
4 {
5 S() : S() {} // { dg-message "delegating constructors" }
6 }; // { dg-error "delegates to itself" "" { target *-*-* } .-1 }
7
8 S<int> s;