]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-elf/wrap2b.c
ld: Add PR ld/31710 tests
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-elf / wrap2b.c
CommitLineData
1509f0c2
L
1#include <stdio.h>
2#include "wrap2.h"
3
4static void
5loaded(void)
6{
7 printf ("PASS\n");
8}
9
10struct ops __wrap_impl =
11{
12 .loaded = loaded,
13};
14
15int
16main()
17{
18 impl.loaded ();
19 return 0;
20}