mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-28 18:56:06 +00:00
8 lines
162 B
Fortran
8 lines
162 B
Fortran
! { dg-do compile }
|
|
! PR fortran/86110
|
|
program p
|
|
character(:), allocatable :: x, y
|
|
x = 'abc'
|
|
y = [x(:)] ! { dg-error "Incompatible ranks 0 and 1" }
|
|
end
|