diff options
Diffstat (limited to 'testsuite/dwz.tests/main.c')
-rw-r--r-- | testsuite/dwz.tests/main.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/main.c b/testsuite/dwz.tests/main.c new file mode 100644 index 0000000..486b018 --- /dev/null +++ b/testsuite/dwz.tests/main.c @@ -0,0 +1,25 @@ +int +main (void) +{ + return 0; +} + +int +foo (int i) +{ + int j; + asm (".global foo_start_lbl\nfoo_start_lbl:"); + j = i *2; + asm (".global foo_end_lbl\nfoo_end_lbl:"); + return j; +} + +int +bar (int i) +{ + int j; + asm (".global bar_start_lbl\nbar_start_lbl:"); + j = i *2; + asm (".global bar_end_lbl\nbar_end_lbl:"); + return j; +} |