1 /* Check that we disable odd-numbered single precision registers.  */
2 /* { dg-options "-mabi=32 -mfp32 -march=loongson3a -mhard-float -ffat-lto-objects" } */
3 /* This is testing for errors which can only happen in assembly generation.
4    dg-error does not guarantee assembly generation, so we need to do it
5    manually by using -ffat-lto-objects.  */
6 
7 NOMIPS16 void
foo()8 foo ()
9 {
10   register float foo asm ("$f1"); /* { dg-error "isn't suitable for" } */
11   asm volatile ("" : "=f" (foo));
12 }
13