3 ! PR 63363: No diagnostic for passing function as actual argument to KIND
5 ! Contributed by Ian Harvey <ian_harvey@bigpond.com>
10 class(*), allocatable
:: c
12 print *, KIND(d
) ! { dg-error "must be of intrinsic type" }
13 print *, KIND(c
) ! { dg-error "must be of intrinsic type" }
15 print *, KIND(f
) ! { dg-error "must be a data entity" }
17 print *, KIND(s
) ! { dg-error "must be a data entity" }
20 INTEGER(SELECTED_INT_KIND(4)) :: f