8 #ifdef HAVE_ASM_UNIQUE_OBJECT
9 void *h1
= dlopen ("tst-unique1mod1.so", RTLD_LAZY
);
12 puts ("cannot load tst-unique1mod1");
15 int *(*f1
) (void) = dlsym (h1
, "f");
18 puts ("cannot locate f in tst-unique1mod1");
21 void *h2
= dlopen ("tst-unique1mod2.so", RTLD_LAZY
);
24 puts ("cannot load tst-unique1mod2");
27 int (*f2
) (int *) = dlsym (h2
, "f");
30 puts ("cannot locate f in tst-unique1mod2");
39 #define TEST_FUNCTION do_test ()
40 #include "../test-skeleton.c"