5 ! Based on a contribution of Andrew Benson
13 procedure(double precision ), pointer :: r
14 class (testType
), pointer :: testObject
15 double precision :: testVal
17 ! Failed as testFunc was BT_UNKNOWN
18 select
type (testObject
)
24 end subroutine testSub
26 double precision function testFunc()
36 procedure(double precision ), pointer :: r
37 double precision :: testVal
38 ! Failed as testFunc was BT_UNKNOWN
43 end subroutine testSub
45 double precision function testFunc()
53 procedure(sub
), pointer :: ptr
54 ! Before the fix, one had the link error
55 ! "undefined reference to `sub.1909'"
60 end subroutine my_test
62 integer, optional
:: a