summaryrefslogtreecommitdiff
path: root/test/elf/Inputs/use-shared-32s.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/elf/Inputs/use-shared-32s.c')
-rw-r--r--test/elf/Inputs/use-shared-32s.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/elf/Inputs/use-shared-32s.c b/test/elf/Inputs/use-shared-32s.c
new file mode 100644
index 0000000000000..63054cb036ea3
--- /dev/null
+++ b/test/elf/Inputs/use-shared-32s.c
@@ -0,0 +1,8 @@
+void foo();
+
+void (*func)();
+
+int main() {
+ func = foo;
+ func();
+}