2 ! { dg
-options
"-std=gnu" }
3 ! Test
for dollar descriptor in the middle of a
format
4 300 format(1000(a
,$
)) ! { dg
-warning
"should be the last specifier" }
5 write(*,300) "gee", "gee"
6 write(*,"(1000(a,$))") "foo", "bar" ! { dg
-warning
"should be the last specifier" }
8 ! { dg
-output
"^geegeefoobar$" }