! { dg-do compile }!! Fix for PR98016 - Used to fail with Error: Variable ānā cannot appear in the! expression at (1) for line 16. Workaround was to declare y to be real.!! Posted by Juergen Reuter <juergen.reuter@desy.de>!program is_it_valid
dimensiony(3)
n=3
y=func(1.0)print*, y
stopcontainsfunctionfunc(x)result(y)dimensiony(n)
y=x
end functionend