2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git] / gcc / testsuite / gcc.target / sh / sh-relax-vxworks.c
blobf8c2ffef431a71dc60929f6cfde5e19dba03ad43
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;