projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
gfortran.dg
/
typebound_proc_14.f03
1
! { dg-do compile }
2
!
3
! PR 40117: [OOP][F2008] Type-bound procedure: allow list after PROCEDURE
4
!
5
! Contributed by Janus Weil <janus@gcc.gnu.org>
6
7
module m
8
9
implicit none
10
11
type :: t
12
contains
13
procedure :: foo, bar, baz
14
end type
15
16
contains
17
18
subroutine foo (this)
19
class(t) :: this
20
end subroutine
21
22
real function bar (this)
23
class(t) :: this
24
end function
25
26
subroutine baz (this, par)
27
class(t) :: this
28
integer :: par
29
end subroutine
30
31
end