repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR tree-optimization/86415 - strlen() not folded for substrings within constant arrays
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
error_stop_4.f90
blob
d8cdefe14cbcc464b994a63d6d4f2fd5b7e7b18a
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