Support -std=f2018
[official-gcc.git] / gcc / testsuite / gfortran.dg / error_stop_4.f90
blobfbca5990b969fc2e2a6039b62d9855451f8a1e38
1 ! { dg-do compile }
2 ! { dg-options "-std=f2008ts" }
4 ! F2018 permits ERROR STOP in PURE procedures
6 pure subroutine foo()
7 error stop "failed" ! { dg-error "Fortran 2018: ERROR STOP statement at .1. in PURE procedure" }
8 end