4 ! ICE for calls to a use-associated function returning an array whose spec
5 ! depends on a function call.
7 ! Contributed by Tobias Burnus <burnus@net-b.de>
10 COMPLEX, SAVE, ALLOCATABLE
:: P(:)
12 FUNCTION getPhaseMatrix() RESULT(PM
)
13 COMPLEX:: PM(SIZE(P
),3)
21 SUBROUTINE gf_generateEmbPot()
22 COMPLEX :: sigma2(3,3)
23 sigma2
= MATMUL(getPhaseMatrix(), sigma2
)