X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=ld%2Ftestsuite%2Fld-ifunc%2Ftest-1.c;fp=ld%2Ftestsuite%2Fld-ifunc%2Ftest-1.c;h=6930e56d27a830c7c2e25e6dd7cc19dec4e510ee;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hp=0000000000000000000000000000000000000000;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10;p=msp430-binutils.git diff --git a/ld/testsuite/ld-ifunc/test-1.c b/ld/testsuite/ld-ifunc/test-1.c new file mode 100644 index 0000000..6930e56 --- /dev/null +++ b/ld/testsuite/ld-ifunc/test-1.c @@ -0,0 +1,3 @@ +extern int library_func2 (void); +int (*fn) (void) = library_func2; +int main (void) { fn (); return 0; }