diff options
Diffstat (limited to 'ld/testsuite/ld-plugin/main.c')
-rw-r--r-- | ld/testsuite/ld-plugin/main.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/main.c b/ld/testsuite/ld-plugin/main.c new file mode 100644 index 0000000..2d64617 --- /dev/null +++ b/ld/testsuite/ld-plugin/main.c @@ -0,0 +1,13 @@ + +extern int printf (const char *fmt, ...); + +extern const char *text; +extern int func (void); + +int retval = 0; + +int main (int argc, const char **argv) +{ + printf ("%s\n", text); + return func (); +} |