2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / write_invalid_format.f90
blob8de7bc25ced9d84b8d0c5dafdc18bcf597ab5705
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