summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/lto-11b.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-plugin/lto-11b.c')
-rw-r--r--ld/testsuite/ld-plugin/lto-11b.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/lto-11b.c b/ld/testsuite/ld-plugin/lto-11b.c
new file mode 100644
index 0000000000..62d61ecf94
--- /dev/null
+++ b/ld/testsuite/ld-plugin/lto-11b.c
@@ -0,0 +1,6 @@
+extern int printf(const char *, ...);
+
+void foo(void)
+{
+ printf("Hello from %s!\n", __FUNCTION__);
+}