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