1 /* PR c++/37647 */
2 /* { dg-do compile } */
3 
4 struct A
5 {
AA6   A() { void A(); } /* { dg-error "return type specification for constructor invalid|non-class scope|local external" } */
7 };
8