about summary refs log tree commit diff
path: root/elf/constload3.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/constload3.c')
-rw-r--r--elf/constload3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/constload3.c b/elf/constload3.c
new file mode 100644
index 0000000000..c9f94b86ee
--- /dev/null
+++ b/elf/constload3.c
@@ -0,0 +1,7 @@
+extern int baz (void);
+
+int
+bar (void)
+{
+  return -21 + baz ();
+}