summaryrefslogtreecommitdiff
path: root/elf/tst-nodelete2mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-nodelete2mod.c')
-rw-r--r--elf/tst-nodelete2mod.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/tst-nodelete2mod.c b/elf/tst-nodelete2mod.c
new file mode 100644
index 0000000000..e88c756f5e
--- /dev/null
+++ b/elf/tst-nodelete2mod.c
@@ -0,0 +1,7 @@
+/* Undefined symbol. */
+extern int not_exist (void);
+
+int foo (void)
+{
+ return not_exist ();
+}