mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
1509f0c231
PR ld/31710 * testsuite/ld-elf/wrap.exp: Run ld/31710 tests. * testsuite/ld-elf/wrap2.h: New file. * testsuite/ld-elf/wrap2a.c: Likewise. * testsuite/ld-elf/wrap2b.c: Likewise.
21 lines
186 B
C
21 lines
186 B
C
#include <stdio.h>
|
|
#include "wrap2.h"
|
|
|
|
static void
|
|
loaded(void)
|
|
{
|
|
printf ("PASS\n");
|
|
}
|
|
|
|
struct ops __wrap_impl =
|
|
{
|
|
.loaded = loaded,
|
|
};
|
|
|
|
int
|
|
main()
|
|
{
|
|
impl.loaded ();
|
|
return 0;
|
|
}
|