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
2015-07-03 Christophe Lyon <christophe.lyon@linaro.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
class_26.f03
blob
ed4a2690cfd0c15b932e697bc402cc99c7663efa
1
! { dg-do run }
2
!
3
! PR 44065: [OOP] Undefined reference to vtab$...
4
!
5
! Contributed by Salvatore Filippone <sfilippone@uniroma2.it>
6
7
module s_mat_mod
8
implicit none
9
type :: s_sparse_mat
10
end type
11
contains
12
subroutine s_set_triangle(a)
13
class(s_sparse_mat), intent(inout) :: a
14
end subroutine
15
end module
16
17
module s_tester
18
implicit none
19
contains
20
subroutine s_ussv_2
21
use s_mat_mod
22
type(s_sparse_mat) :: a
23
call s_set_triangle(a)
24
end subroutine
25
end module
26
27
end
28