5 module procedure tt_i
, tt_r
, tt_l
, tt_c4
, tt_c8
8 function tt_l(x
) result(y
)
13 function tt_i(x
) result(y
)
18 function tt_r(x
) result(y
)
23 function tt_c4(x
) result(y
)
25 complex(4), pointer :: x
28 function tt_c8(x
) result(y
)
30 complex(8), pointer :: x
40 complex(4), pointer :: c4
41 complex(8), pointer :: c8
43 if (tt(l
) /= 0) call abort()
44 if (tt(i
) /= 1) call abort()
45 if (tt(r
) /= 2) call abort()
46 if (tt(c4
) /= 3) call abort()
47 if (tt(c8
) /= 4) call abort()
48 if (tt(null(l
)) /= 0) call abort()
49 if (tt(null(i
)) /= 1) call abort()
50 if (tt(null(r
)) /= 2) call abort()
51 if (tt(null(c4
)) /= 3) call abort()
52 if (tt(null(c8
)) /= 4) call abort()
55 ! { dg-final { cleanup-modules "mymod" } }