aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr18900c.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr18900c.c')
-rw-r--r--ld/testsuite/ld-x86-64/pr18900c.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr18900c.c b/ld/testsuite/ld-x86-64/pr18900c.c
new file mode 100644
index 0000000..b37ca16
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr18900c.c
@@ -0,0 +1,5 @@
+extern void foo (void);
+
+typedef void (*func_p) (void);
+
+func_p p1 = &foo;