aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/reloc12.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/reloc12.h')
-rw-r--r--testsuite/reloc12.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/reloc12.h b/testsuite/reloc12.h
new file mode 100644
index 0000000..8e09405
--- /dev/null
+++ b/testsuite/reloc12.h
@@ -0,0 +1,11 @@
+typedef struct
+ {
+ char a;
+ int b;
+ } A;
+
+extern A foo[] __attribute ((visibility ("protected")));
+
+A* find(char a);
+char a(const A*);
+int b(const A*);