Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
ctor1.C
blob: 65449f4c69155a7ea02c0e4c65005139d5a87cb8 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
// PR C++/30303
// This used to ICE because we did not return NULL
// in grokfndecl when an error happened.
class
A
{
int
i
;
};
A
::
A
()
{
A
();
}
/* { dg-error "definition of implicitly-declared" } */