aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/981022-1.c
blob: 6256673804a0be1ff660746d4ec6bb3bd9256541 (plain)
1
2
3
4
5
6
7
8
9
/* This tests a combination of two gcc extensions.  Omitting the middle
   operand of ?: and using ?: as an lvalue.  */
int x, y;

int main ()
{
  (x ?: y) = 0;
  return 0;
}