1 void die(void); 2 foo(int c)3int foo(int c) 4 { 5 if (c) 6 return 1; 7 die(); 8 __builtin_unreachable(); 9 } 10 11 /* 12 * check-name: builtin_unreachable1 13 * check-command: test-linearize -Wno-decl $file 14 * 15 * check-output-start 16 foo: 17 .L0: 18 <entry-point> 19 cbr %arg1, .L1, .L2 20 21 .L1: 22 ret.32 $1 23 24 .L2: 25 call die 26 unreachable 27 28 29 * check-output-end 30 */ 31