Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
pr14765-1.c
blob: d2b341839cec43a4fb9cd3488d73338f41cbe9c6 [
file
] [
log
] [
blame
]
/* Empty statement expressions should get void type. Bug 14765 from
Serge Belyshev <belyshev@lubercy.com>. */
/* { dg-do compile } */
/* { dg-options "" } */
int
a
;
void
fun
()
{
a
=
0
;
a
=
({});
/* { dg-error "not ignored" "void stmt expr" } */
}