Skip to content

Commit 95dd942

Browse files
Added test
1 parent fc450bc commit 95dd942

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

flang/test/Semantics/resolve40.f90

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,10 @@ subroutine s12(x)
9696
!BECAUSE: 'x' is an INTENT(IN) dummy argument
9797
read(*,nml=nl)
9898
end
99+
100+
subroutine s13()
101+
implicit none
102+
!ERROR: No explicit type declared for 'i'
103+
!ERROR: No explicit type declared for 'i'
104+
print *, (i, i = 1, 2)
105+
end

0 commit comments

Comments
 (0)