diff options
Diffstat (limited to 'ld/testsuite/ld-plugin/pr13244.c')
-rw-r--r-- | ld/testsuite/ld-plugin/pr13244.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/pr13244.c b/ld/testsuite/ld-plugin/pr13244.c new file mode 100644 index 0000000..efe93bf --- /dev/null +++ b/ld/testsuite/ld-plugin/pr13244.c @@ -0,0 +1,14 @@ +extern __attribute__ ((visibility("hidden"))) int fooblah; + +static void +do_nothing (int param) +{ + if (param) + fooblah = 1; +} + +void +bar () +{ + do_nothing (0); +} |