aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/lto-1b.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-plugin/lto-1b.c')
-rw-r--r--ld/testsuite/ld-plugin/lto-1b.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-plugin/lto-1b.c b/ld/testsuite/ld-plugin/lto-1b.c
new file mode 100644
index 0000000..8a961ef
--- /dev/null
+++ b/ld/testsuite/ld-plugin/lto-1b.c
@@ -0,0 +1,8 @@
+extern unsigned long long bar (unsigned long long);
+
+int
+main (int argc, char **argv)
+{
+ unsigned long long d = bar ((unsigned long long) (argc + 1));
+ return d;
+}