Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / mgeneral-regs_3.c
blobfa6299960e77141ce747552cfbe3256a7a96d229
1 /* { dg-options "-mgeneral-regs-only -O2" } */
3 extern void abort (void);
5 int
6 test (int i, ...)
8 float f = (float) i; /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */
9 if (f != f) abort ();
10 return 2;