Require fpic on gcc.target/i386/pr55049-1.c
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr55049-1.c
blobcb7fb9b3fd32a35d79970764685228b4a08c1fc8
1 /* { dg-do compile { target { ! { ia32 } } } } */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-options "-O2 -fPIC -mx32" } */
5 extern void __morestack_fail (const char *msg);
6 void
7 foo (void)
9 static const char msg[] = "munmap of stack space failed: errno ";
10 __morestack_fail (msg);