| 1 |
! { dg-do compile } |
| 2 |
! PR fortran/104349 - reject module variable as character length in PARAMETER |
| 3 |
! Contributed by G.Steinmetz |
| 4 |
|
| 5 |
module m |
| 6 |
character(n), parameter :: a(1) = 'b' ! { dg-error "cannot appear" } |
| 7 |
character(n), parameter :: c = 'b' ! { dg-error "cannot appear" } |
| 8 |
end |