mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-28 11:30:19 +00:00
9 lines
336 B
Fortran
9 lines
336 B
Fortran
! { dg-do run }
|
|
! { dg-options "-std=gnu" }
|
|
! Test for dollar descriptor in the middle of a format
|
|
300 format(1000(a,$)) ! { dg-warning "should be the last specifier" }
|
|
write(*,300) "gee", "gee"
|
|
write(*,"(1000(a,$))") "foo", "bar" ! { dg-warning "should be the last specifier" }
|
|
end
|
|
! { dg-output "^geegeefoobar$" }
|