! { dg-do compile } ! ! PR fortran/50071 ! A label in an END BLOCK statement was ignored; as a result, a GOTO ! to such a label was rejected. ! ! Contributed by Tobias Burnus block goto 1 print *, 'Hello' 1 end block end