* compile/981022-1.c, compile/981022-1.x: New test and driver.

From-SVN: r23225
This commit is contained in:
Andreas Schwab 1998-10-22 15:03:45 +00:00 committed by Jeff Law
parent f09bbbedfb
commit db1b5e8135
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Thu Oct 22 16:01:44 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* compile/981022-1.c, compile/981022-1.x: New test and driver.
Mon Oct 19 14:03:07 1998 Jeffrey A Law (law@cygnus.com)
* 981019-1.c: New test.

View File

@ -0,0 +1,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;
}

View File

@ -0,0 +1,2 @@
set torture_compile_xfail "*-*-*"
return 0