blob: 8de211c1220d1ce479c5609b945231f08ebf2955 [file] [log] [blame]
// { dg-do assemble }
struct B { struct A { A(); int a; } aa; };
B::A::A () { a = 37; }
char* xx[] = {
"../tests/ warning: return type specification for constructor invalid",
"../tests/ semicolon missing after declaration of `A'",
"../tests/ warning: empty declaration",
"../tests/ In function int A ():",
"../tests/ `a' undeclared (first use this function)",
"../tests/ (Each undeclared identifier is reported only once",
"../tests/ for each function it appears in.)",
"../tests/ warning: control reaches end of non-void function" };