blob: 10a782d387d5737f4b41d738e0dd1fd430b44f8a (
plain)
1
2
3
4
5
6
|
// PR c++/46538
// { dg-do compile }
// { dg-options "" }
S () : str(__PRETTY_FUNCTION__) {} // { dg-error "forbids declaration" }
// { dg-error "only constructors" "" { target *-*-* } 5 }
|