diff options
Diffstat (limited to 'testsuite/reloc12lib1.c')
-rw-r--r-- | testsuite/reloc12lib1.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/reloc12lib1.c b/testsuite/reloc12lib1.c new file mode 100644 index 0000000..db7e64f --- /dev/null +++ b/testsuite/reloc12lib1.c @@ -0,0 +1,11 @@ +#include "reloc12.h" + +char a(const A *d) +{ + return d ? d->a : 0; +} + +int b(const A *d) +{ + return d ? d->b : -1; +} |