1 void abort(void) __attribute__((__noreturn__)); 2 foo(int a)3int foo(int a) 4 { 5 void *label; 6 7 if (a == a) 8 label = &&L1; 9 else 10 label = &&L2; 11 goto *label; 12 L1: return 0; 13 L2: abort(); 14 } 15 16 /* 17 * check-name: cgoto01 18 * check-command: test-linearize -Wno-decl $file 19 * 20 * check-output-ignore 21 * check-output-excludes: set\\. 22 * check-output-excludes: jmp 23 * check-output-excludes: call 24 */ 25