1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 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; }