Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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" }