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
/
maxerrors.f90
blob
6c3232d2f3258f24b0e2e7fd0c55113f9176ad68
1
! { dg-do compile }
2
! { dg-options "-fmax-errors=1" }
3
! PR66528
4
! { dg-prune-output "compilation terminated" }
5
program
main
6
read
(*,*)
n
7
if
(
n
<
0
)
then
8
print
*,
foo
9
end
! { dg-error "END IF statement expected" }
10
print
*,
bar
11
end program
main
12