| 1 |
/* Check that -mrelax produces the correct error message. */ |
| 2 |
/* { dg-do compile { target { sh-*-vxworks* && nonpic } } } */ |
| 3 |
/* { dg-error "-mrelax is only supported for RTP PIC" "" { target *-*-* } 0 } */ |
| 4 |
/* { dg-options "-O1 -mrelax" } */ |
| 5 |
int x; |