diff options
Diffstat (limited to 'ld/testsuite/ld-elfweak/bar1a.c')
-rw-r--r-- | ld/testsuite/ld-elfweak/bar1a.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfweak/bar1a.c b/ld/testsuite/ld-elfweak/bar1a.c new file mode 100644 index 0000000..7ca1f04 --- /dev/null +++ b/ld/testsuite/ld-elfweak/bar1a.c @@ -0,0 +1,9 @@ +#pragma weak deallocate_foo + +int deallocate_foo = 1; + +int * +bar() +{ + return &deallocate_foo; +} |