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