aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/s390/sigfpe-eh.c
blob: 52b0bf39d9e055e04c0a32bb76f5afc3d487882e (plain)
1
2
3
4
5
6
7
8
9
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 ();
}