Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr18900b.c
blobe6663056e704cc57fc4e6dc1293a3ece093fa626
1 extern void abort (void);
2 extern void foo (void);
3 extern void *bar (void);
5 typedef void (*func_p) (void);
7 extern const func_p p1;
9 func_p p2 = &foo;
10 func_p p3 = &foo;
12 int
13 main ()
15 void *p = bar ();
16 p1 ();
17 p2 ();
18 p3 ();
19 if (p != p1)
20 abort ();
21 return 0;