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