1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
int foo(int a) { void *label = a ? &&l1 : &&l2; goto *label; l1: return a; l2: return 0; } /* * check-name: cgoto02 * check-command: test-linearize -Wno-decl $file * * check-output-ignore * check-output-returns: %arg1 */