1  /* { dg-do compile { target { ! ia32 } } } */
       2  /* { dg-options "-fdiagnostics-show-caret -mno-fp-ret-in-387" } */
       3  
       4  extern long double fminl (long double __x, long double __y);
       5  
       6  #define TEST_EQ(FUNC) do { \
       7    if ((long)FUNC##l(xl,xl) != (long)xl) \
       8      return; \
       9    } while (0)
      10  
      11  void
      12  foo (long double xl)
      13  {
      14    TEST_EQ (fmin); /* { dg-error "x87 register return with x87 disabled" } */
      15  }
      16  
      17  /* { dg-begin-multiline-output "" }
      18     TEST_EQ (fmin);
      19              ^
      20     { dg-end-multiline-output "" } */
      21  
      22  /* { dg-begin-multiline-output "" }
      23     if ((long)FUNC##l(xl,xl) != (long)xl) \
      24               ^~~~
      25     { dg-end-multiline-output "" } */