Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.target / i386 / pr55049-1.c
1 /* { dg-do compile { target { ! { ia32 } } } } */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-options "-O2 -fPIC -mx32" } */
4
5 extern void __morestack_fail (const char *msg);
6 void
7 foo (void)
8 {
9   static const char msg[] = "munmap of stack space failed: errno ";
10   __morestack_fail (msg);
11 }