aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-nodelete-zmod.cc
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-nodelete-zmod.cc')
-rw-r--r--elf/tst-nodelete-zmod.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/tst-nodelete-zmod.cc b/elf/tst-nodelete-zmod.cc
new file mode 100644
index 0000000000..740e1d8181
--- /dev/null
+++ b/elf/tst-nodelete-zmod.cc
@@ -0,0 +1,6 @@
+extern int not_exist (void);
+
+int foo (void)
+{
+ return not_exist ();
+}