2 ! Tests the fix for PRs 18578, 18579 and their repeats 20857 and 20885.
3 ! Contributed by Paul Thomas <pault@gcc@gnu.org>
4 real, parameter :: a
=42.0
6 call foo(b
+ 2.0) ! { dg-error "must be definable" }
7 call foo(a
) ! { dg-error "must be definable" }
8 call bar(b
+ 2.0) ! { dg-error "must be definable" }
9 call bar(a
) ! { dg-error "must be definable" }
12 real, intent(out
) :: a
16 real, intent(INout
) :: a