We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ced71f9 commit 02b1632Copy full SHA for 02b1632
test/shallow_m.f90
@@ -8,8 +8,6 @@ module shallow_m
8
type, extends(ref_reference_t) :: shallow_t
9
integer, pointer :: ref => null()
10
contains
11
- procedure :: shallow_copy
12
- generic :: assignment(=) => shallow_copy
13
procedure :: free
14
end type
15
@@ -37,10 +35,4 @@ subroutine free(self)
37
35
resource_freed = .true.
38
36
end subroutine
39
40
- subroutine shallow_copy(lhs, rhs)
41
- class(shallow_t), intent(inout) :: lhs
42
- type(shallow_t), intent(in) :: rhs
43
- lhs%ref => rhs%ref
44
- end subroutine
45
-
46
end module
0 commit comments