From 2fcb858ba44d0ca13073d04da7b852c3fcfa7dae Mon Sep 17 00:00:00 2001 From: manu Date: Fri, 5 Dec 2014 00:01:35 +0000 Subject: [PATCH] This test should have been added in revision 218407. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit gcc/testsuite/ 2014-12-05 Manuel López-Ibáñez * gfortran.dg/line_length_5.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218410 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/gfortran.dg/line_length_5.f90 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 gcc/testsuite/gfortran.dg/line_length_5.f90 diff --git a/gcc/testsuite/gfortran.dg/line_length_5.f90 b/gcc/testsuite/gfortran.dg/line_length_5.f90 new file mode 100644 index 000000000000..b9c2946ade22 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/line_length_5.f90 @@ -0,0 +1,6 @@ +! { dg-do compile } +! { dg-options "-Wline-truncation" } +print *, 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' +end +! { dg-warning "Line truncated" " " { target *-*-* } 3 } +! { dg-error "Unterminated character constant" " " { target *-*-* } 3 } -- 2.47.3