mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-28 11:30:19 +00:00
15 lines
281 B
Fortran
15 lines
281 B
Fortran
! { dg-do compile }
|
|
program test
|
|
|
|
! PR fortran/48876 - this used to segfault.
|
|
! Test case contributed by mhp77 (a) gmx.at.
|
|
character :: string = "string"( : -1 )
|
|
|
|
! PR fortran/50409
|
|
character v(3)
|
|
v = (/ ('123'(i:1), i = 3, 1, -1) /)
|
|
print *, v
|
|
|
|
end program test
|
|
|