2 /* { dg-options "-O2 -fdump-tree-ssa -std=gnu11" } */
3 /* { dg-final { scan-tree-dump-times "__builtin_unreachable" 4 "ssa" } } */
15 return; /* { dg-warning "function declared 'noreturn' has a 'return' statement" } */
16 } /* { dg-warning "'noreturn' function does return" "" { target *-*-* } .-1 } */
23 } /* { dg-warning "'noreturn' function does return" } */
29 return; /* { dg-warning "function declared 'noreturn' has a 'return' statement" } */
32 return; /* { dg-warning "function declared 'noreturn' has a 'return' statement" } */
33 } /* { dg-warning "'noreturn' function does return" } */
39 return; /* { dg-warning "function declared 'noreturn' has a 'return' statement" } */
42 } /* { dg-warning "'noreturn' function does return" } */