annotate gcc/testsuite/gfortran.dg/use_28.f90 @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +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 ! PR fortran/47203
kono
parents:
diff changeset
4 ! The USE statement of a module was not rejected in a procedure with the same
kono
parents:
diff changeset
5 ! name if the procedure was contained.
kono
parents:
diff changeset
6 !
kono
parents:
diff changeset
7 ! Contributed by Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 module m
kono
parents:
diff changeset
10 end module m
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12 call m
kono
parents:
diff changeset
13 contains
kono
parents:
diff changeset
14 subroutine m()
kono
parents:
diff changeset
15 use m ! { dg-error "is also the name of the current program unit" }
kono
parents:
diff changeset
16 end subroutine m
kono
parents:
diff changeset
17 end
kono
parents:
diff changeset
18