blob: 6e5bf6890f22daf767b737f86b609774ed829363 (
plain)
1
2
3
4
5
6
7
8
|
! { 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$" }
|