diff options
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-elfweak/main1.c')
-rw-r--r-- | binutils-2.21/ld/testsuite/ld-elfweak/main1.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-elfweak/main1.c b/binutils-2.21/ld/testsuite/ld-elfweak/main1.c new file mode 100644 index 0000000..39f819e --- /dev/null +++ b/binutils-2.21/ld/testsuite/ld-elfweak/main1.c @@ -0,0 +1,11 @@ +#pragma weak deallocate_foo +int deallocate_foo = 1; + +extern void foobar (); + +int +main () +{ + foobar (); + return 0; +} |