* compile/981022-1.c, compile/981022-1.x: New test and driver.
From-SVN: r23225
This commit is contained in:
parent
f09bbbedfb
commit
db1b5e8135
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
set torture_compile_xfail "*-*-*"
|
||||
return 0
|
Loading…
Reference in New Issue