diff options
Diffstat (limited to 'ld/testsuite/ld-gc/pr11218-2.c')
-rw-r--r-- | ld/testsuite/ld-gc/pr11218-2.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-gc/pr11218-2.c b/ld/testsuite/ld-gc/pr11218-2.c new file mode 100644 index 0000000..2515bc6 --- /dev/null +++ b/ld/testsuite/ld-gc/pr11218-2.c @@ -0,0 +1,13 @@ +extern void foo_in_so(void); + +void call_unresolved(void) +{ + unresolved_detected_at_runtime_not_at_linktime(); +} + +int main(int argc, char *argv[]) +{ + foo_in_so(); + + return 0; +} |