Debian Codegraph @

gcc/testsuite/gfortran.dg/write_invalid_format.f90

raw
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>
5
6 real, parameter :: a = 1.
7 write(*,a) 'test' ! { dg-error "expression in FORMAT tag" }
8 end
9