diff options
Diffstat (limited to 'ld/testsuite/ld-i386/pr18900a.c')
-rw-r--r-- | ld/testsuite/ld-i386/pr18900a.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr18900a.c b/ld/testsuite/ld-i386/pr18900a.c new file mode 100644 index 0000000..fa2fc06 --- /dev/null +++ b/ld/testsuite/ld-i386/pr18900a.c @@ -0,0 +1,14 @@ +#include <stdio.h> + +void +foo (void) +{ + printf ("OK\n"); +} + +void * +bar (void) +{ + foo (); + return &foo; +} |