AArch64: Fix testcase
gcc/testsuite/ * gcc.target/aarch64/mgeneral-regs_3.c: Fix testcase.
This commit is contained in:
parent
0386c40eeb
commit
26d2db895b
1 changed files with 3 additions and 3 deletions
|
@ -3,9 +3,9 @@
|
|||
extern void abort (void);
|
||||
|
||||
int
|
||||
test (int i, ...)
|
||||
test (int i, ...) /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */
|
||||
{
|
||||
float f = (float) i; /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of floating-point types" } */
|
||||
if (f != f) abort ();
|
||||
float f = (float) i;
|
||||
if (f != 0) abort ();
|
||||
return 2;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue