Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
abi
/
pr83489.C
blob: b6c82ef16e615e23e5f430de9e4b19f3cd5e978f [
file
] [
log
] [
blame
]
// PR c++/83489
// { dg-options "-Wabi=11" }
struct
A
{
A foo
(
void
i
=
0
);
// { dg-error "incomplete type|invalid use" }
};
void
bar
()
{
A
().
foo
();
}
A A
::
foo
(
void
i
)
// { dg-error "incomplete type|invalid use" }
{
return
A
();
}