summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr55049-1.c
blob: cb7fb9b3fd32a35d79970764685228b4a08c1fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -fPIC -mx32" } */

extern void __morestack_fail (const char *msg);
void
foo (void)
{
  static const char msg[] = "munmap of stack space failed: errno ";
  __morestack_fail (msg);
}