2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / line_length_8.f90
blob3f0efaf4c0ac8e5369ca402d490e5e8f836ff837
1 ! { dg-do compile }
2 ! { dg-options "-Wline-truncation" }
4 ! By default, for free-form source code: Error out
5 ! Even with -Wline-truncation, we still get an error
7 print *, 1 + 2 ! { dg-error "Line truncated at .1." }
8 end
9 ! { dg-excess-errors "some warnings being treated as errors" }