1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-require-effective-target fpic } */
3 /* { dg-require-effective-target maybe_x32 } */
4 /* { dg-options "-O2 -fPIC -mx32" } */
5 
6 extern void __morestack_fail (const char *msg);
7 void
foo(void)8 foo (void)
9 {
10   static const char msg[] = "munmap of stack space failed: errno ";
11   __morestack_fail (msg);
12 }
13