diff options
Diffstat (limited to 'ld/testsuite/ld-plugin/pr12975.c')
-rw-r--r-- | ld/testsuite/ld-plugin/pr12975.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/pr12975.c b/ld/testsuite/ld-plugin/pr12975.c new file mode 100644 index 0000000..909af97 --- /dev/null +++ b/ld/testsuite/ld-plugin/pr12975.c @@ -0,0 +1,7 @@ +int foo() { return 42; } + +int bar() { return 0; } + +#pragma GCC visibility push(hidden) +int baz() { return 1; } +#pragma GCC visibility pop |