1void abort(void) __attribute__((__noreturn__)); 2 3int foo(int a) 4{ 5 void *label; 6 7 if (a == a) 8 label = &&L1; 9 else 10 label = &&L2; 11 goto *label; 12L1: return 0; 13L2: 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