mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-11 05:16:58 +08:00
* 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.
|
||||
|
9
gcc/testsuite/gcc.c-torture/compile/981022-1.c
Normal file
9
gcc/testsuite/gcc.c-torture/compile/981022-1.c
Normal 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;
|
||||
}
|
2
gcc/testsuite/gcc.c-torture/compile/981022-1.x
Normal file
2
gcc/testsuite/gcc.c-torture/compile/981022-1.x
Normal file
@ -0,0 +1,2 @@
|
||||
set torture_compile_xfail "*-*-*"
|
||||
return 0
|
Loading…
Reference in New Issue
Block a user