Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
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" } */