2 ! { dg-options "-Wline-truncation" }
3 print *, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
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" }