summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/soft-float-1.c
blob: 4c45646279782f1da00ff88ad09aa7c2d0a4d532 (plain)
1
2
3
4
5
6
7
/* { dg-options "-msoft-float" } */

void
foo (void)
{
  register float x asm ("$f0"); /* { dg-error "cannot be accessed" } */
}