summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compound-literal-1.c
blob: 9b3b24e254eb4438e8c2b6e03997eaef29991f43 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */

/* PR c/43248 */

__extension__ int foo(__SIZE_TYPE__ i)
{
  i ? : (void *){}; /* { dg-error "" } */
}