-char testsym[9] __attribute__((weak, visibility("hidden")));
+int testint __attribute__((weak, visibility("hidden")));
+void *testptr __attribute__((weak, visibility("hidden")));
+struct {
+ char a[24];
+} testsym_24_bytes __attribute__((weak, visibility("hidden")));
-void *fctlib1(void)
+void *testlibfct1_int(void)
{
- return testsym;
+ return &testint;
+}
+
+void *testlibfct1_ptr(void)
+{
+ return &testptr;
+}
+
+void *testlibfct1_24_bytes(void)
+{
+ return &testsym_24_bytes;
}