2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // DR135: Class type in in-class member function definitions
6 S f() { return S(); } // { dg-bogus "" "incomplete class type is allowed as return type" }
7 void g(S) { } // { dg-bogus "" "incomplete class type is allowed as parameter type" }