(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
fp16-inf.c
       1  /* { dg-do run } */
       2  /* { dg-options "-O -mfp16-format=ieee" } */
       3  
       4  /* Conversion of infinity to __fp16 and back again should preserve the
       5     value.  */
       6  volatile float f = __builtin_inf ();
       7  
       8  int main ()
       9  {
      10    __fp16 h = f;
      11    if (h != __builtin_inf ())
      12      __builtin_abort ();
      13    return 0;
      14  }