Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gfortran.dg / write_invalid_format.f90
blobfb60313ef07443abf4a9f4d01542b420ff73a7df
1 ! { dg-do "compile" }
2 ! PR fortran/35582 - ICE on invalid format
3 ! Testcase contributed by
4 ! Leandro Martinez <leandromartinez DOT spam AT gmail DOT com>
6 real, parameter :: a = 1.
7 write(*,a) 'test' ! { dg-error "expression in FORMAT tag" }
8 end