2 // { dg-options "-fshow-column" }
3 // GROUPS passed constructors
5 // Subject: bug in handling static const object of the enclosing class
6 // Date: Tue, 1 Sep 92 10:38:44 EDT
9 { // { dg-error "1: note: X::X\\(const X&\\)" } implicit constructor
17 class Y // { dg-error "1: error: new types may not be defined in a return type|1: note: \\(perhaps a semicolon is missing after the definition of 'Y'\\)" }
24 X::X( int xi ) // { dg-error "14: error: return type specification for constructor invalid|14: note: candidates are: X::X\\(int\\)" }
31 Y::Y() // { dg-error "6: error: no matching function for call to 'X::X\\(\\)'" }