1 ! { dg-final { scan-assembler-not "should_be_noreturn" } }
3 ! This checks that non-returning subroutines and statements
4 ! really don't return by calling non-existing subroutines
5 ! afterwards. These calls are supposed to be optimized away, so
6 ! they won't show up in the generated assembly.
10 read(unit
=c
,fmt
='(A)') i
14 call abort_should_be_noreturn
17 call stop_numeric_should_be_noreturn
20 call stop_string_should_be_noreturn
23 call exit_should_be_noreturn