Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
mgeneral-regs_3.c
blob: fa6299960e77141ce747552cfbe3256a7a96d229 [
file
] [
log
] [
blame
]
/* { dg-options "-mgeneral-regs-only -O2" } */
extern
void
abort
(
void
);
int
test
(
int
i
,
...)
{
float
f
=
(
float
)
i
;
/* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */
if
(
f
!=
f
)
abort
();
return
2
;
}