annotate gcc/testsuite/gfortran.dg/pr65045.f90 @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 !
kono
parents:
diff changeset
3 ! Contributed by Walt Brainerd <walt.brainerd@gmail.com>
kono
parents:
diff changeset
4 !
kono
parents:
diff changeset
5 real :: i = 9.9
kono
parents:
diff changeset
6 i:block
kono
parents:
diff changeset
7 if (i>7.7) then ! { dg-error "is not appropriate for an expression" }
kono
parents:
diff changeset
8 exit i
kono
parents:
diff changeset
9 else ! { dg-error "Unexpected ELSE statement" }
kono
parents:
diff changeset
10 i = 2.2 ! { dg-error "is not a variable" }
kono
parents:
diff changeset
11 end if ! { dg-error "Expecting END BLOCK statement" }
kono
parents:
diff changeset
12 end block i ! { dg-error "Expecting END PROGRAM statement" }
kono
parents:
diff changeset
13 print*,i ! { dg-error "not appropriate for an expression" }
kono
parents:
diff changeset
14 end
kono
parents:
diff changeset
15 ! { dg-excess-errors "Unexpected end of file" }