☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
error_stop_4.f90
☽
☼
gcc/testsuite/gfortran.dg/error_stop_4.f90
code
plain
raw
1
! { dg-do compile }
2
! { dg-options "-std=f2008" }
3
!
4
! F2018 permits ERROR STOP in PURE procedures
5
!
6
pure subroutine foo()
7
error stop "failed" ! { dg-error "Fortran 2018: ERROR STOP statement at .1. in PURE procedure" }
8
end