S/390: Commit forgotten test for r275336
gcc/testsuite/ChangeLog: 2019-09-03 Ilya Leoshkevich <iii@linux.ibm.com> * gcc.target/s390/sigfpe-eh.c: Forgotten test. From-SVN: r275337
This commit is contained in:
parent
837ee1e0b6
commit
70b766b25a
1 changed files with 10 additions and 0 deletions
10
gcc/testsuite/gcc.target/s390/sigfpe-eh.c
Normal file
10
gcc/testsuite/gcc.target/s390/sigfpe-eh.c
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-options "-march=z196 -O2 -fexceptions -fnon-call-exceptions" } */
|
||||
|
||||
extern float f (void);
|
||||
extern float g (void);
|
||||
|
||||
float h (float x, float y)
|
||||
{
|
||||
return x < y ? f () : g ();
|
||||
}
|
Loading…
Add table
Reference in a new issue