☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
common_1.f
☽
☼
gcc/testsuite/gfortran.dg/common_1.f
code
plain
raw
1
! { dg-do compile }
2
module mymod
3
type :: mytyp
4
integer :: i
5
end type mytyp
6
contains
7
subroutine mysub
8
implicit none
9
type(mytyp) :: a
10
integer :: commoni,commonj
11
commoni = a%i
12
commonj = a%j ! { dg-error "is not a member of" }
13
end subroutine mysub
14
end module mymod