Fix compilation failure with C++98 compilers
[official-gcc.git] / gcc / testsuite / gfortran.dg / line_length_5.f90
blobd7aca12e00452448a65f945a9f48a56b95417528
1 ! { dg-do compile }
2 ! { dg-options "-Wline-truncation" }
3 print *, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
4 end
5 ! { dg-error "Line truncated" " " { target *-*-* } 3 }
6 ! { dg-error "Unterminated character constant" " " { target *-*-* } 3 }
7 ! { dg-excess-errors "some warnings being treated as errors" }