summaryrefslogtreecommitdiff
path: root/elf/constload3.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-17 02:17:59 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-17 02:17:59 +0000
commit19cf43bed69d9952c39391f42f22114afb3a0d3f (patch)
tree15725e3712fc919ec7d670c42ba0e66d5d41e53d /elf/constload3.c
parent13a836048c08f552187f2172cb362fb98f42c965 (diff)
Update.
2000-03-16 Ulrich Drepper <drepper@redhat.com> * elf/Makefile: Add rules to compile and rune constload1 test. * elf/constload1.c: New file. * elf/constload2.c: New file. * elf/constload3.c: New file.
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 ();
+}