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
Merge aosp-toolchain/gcc/gcc-4_9 changes.
[official-gcc.git]
/
gcc-4_9
/
gcc
/
testsuite
/
gfortran.dg
/
error_stop_2.f08
blob
8e3e71159800dd699b7c2fc3be8704df59a31e82
1
! { dg-do compile }
2
! PR44371 STOP parsing rejects valid code.
3
real, dimension(5,5,5) :: i
4
character(1) c, y
5
y = 'y'
6
read(y,*) c
7
if (c=='x') stop; if (c=='X') stop
8
if (c=='x') stop size(i); if (c=='X') stop
9
10
if (c=='y') stop size(i) if (c=='Y') stop ! { dg-error "Syntax error in STOP" }
11
end