For test for PR 29072 when the linker is configured with --enable-default-execstack=no.
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr18900a.c
1 #include <stdio.h>
2
3 void
4 foo (void)
5 {
6 printf ("OK\n");
7 }
8
9 void *
10 bar (void)
11 {
12 foo ();
13 return &foo;
14 }