8sa1-gcc/gcc/testsuite/gcc.c-torture/compile/981022-1.c
1998-10-22 09:03:45 -06:00

10 lines
175 B
C

/* 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;
}