Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr108043.c
blob: 0cc0700f30a070965644ea03f7de25f236d3140e [
file
] [
log
] [
blame
]
/* PR c/108043 */
/* { dg-do compile } */
/* { dg-options "" } */
typedef
void
F
(
void
);
void
foo
(
void
)
{
(
F
)
{};
/* { dg-error "compound literal has function type" } */
(
F
)
{
foo
};
/* { dg-error "compound literal has function type" } */
}