diff options
Diffstat (limited to 'testsuite/shuffle6lib1.c')
-rw-r--r-- | testsuite/shuffle6lib1.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/shuffle6lib1.c b/testsuite/shuffle6lib1.c new file mode 100644 index 0000000..8053293 --- /dev/null +++ b/testsuite/shuffle6lib1.c @@ -0,0 +1,20 @@ +#include "reloc1.h" + +int bar = 26; +int baz = 28; +#define M(i) int b##i, *pb##i = &b##i; +M(0) M(1) M(2) M(3) M(4) M(5) M(6) M(7) M(8) M(9) +M(10) M(11) M(12) M(13) M(14) M(15) M(16) M(17) M(18) M(19) +#undef M + +struct A foo = { 1, &foo, &bar }; + +int f1 (void) +{ + return 1; +} + +int f2 (void) +{ + return f1 () + 1; +} |