diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2014-12-05 00:01:35 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2014-12-05 00:01:35 +0000 |
commit | ec0fa4f64df46a923b778512ba83264e452cd9a7 (patch) | |
tree | ecff59d9d9c62a4880ffd33902524cf688e69221 /gcc | |
parent | 99abe958d87a7cf653ea2ea9c467f7ebe0ba956d (diff) | |
download | gcc-ec0fa4f64df46a923b778512ba83264e452cd9a7.zip gcc-ec0fa4f64df46a923b778512ba83264e452cd9a7.tar.gz gcc-ec0fa4f64df46a923b778512ba83264e452cd9a7.tar.bz2 |
This test should have been added in revision 218407.
gcc/testsuite/
2014-12-05 Manuel López-Ibáñez <manu@gcc.gnu.org>
* gfortran.dg/line_length_5.f90: New test.
From-SVN: r218410
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gfortran.dg/line_length_5.f90 | 6 |
1 files changed, 6 insertions, 0 deletions
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 0000000..b9c2946 --- /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 } |