Consider the following program:
type t(n)
integer, kind :: n=1
end type t
type(t) x(1)
if (SIZE(SHAPE(x%n)).ne.0) ERROR STOP "Type parameter inquiry result is not scalar"
end
pgfortran 19.10 incorrectly returns “x%n” as an array rather than the scalar that it should.