summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20010622-1.c
blob: dc4b28ccb152176c73a67c078463f90131eb0a67 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* Test for segfault doing -Wsequence-point processing on an empty
   statement expression.  */
/* Origin: PR c/3259 from <David.Decotigny@irisa.fr>.  */
/* { dg-do compile } */
/* { dg-options "-Wall" } */

void
f (void)
{
  ({ });
}