Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
ctor8.C
blob: e43ce4023a4ac3e44facf493324ecf9809f97a2a [
file
] [
log
] [
blame
]
//PR c++/28505
struct
A
{
A
:
();
// { dg-error "primary-expression|incomplete type" }
A
:
(
int
);
// { dg-error "primary-expression|incomplete type|'int'" }
};
A a
=
(
A
){
0
};
// { dg-error "too many initializers|compound-literals" }