From: dominiq Date: Sat, 11 Jun 2016 19:21:22 +0000 (+0000) Subject: 2016-06-11 Dominique d'Humieres X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=27e0ef1801bf932f5c60d4a864a2a919b6f1bc29;p=thirdparty%2Fgcc.git 2016-06-11 Dominique d'Humieres PR target/60751 * gfortran.dg/comma_IO_extension_1.f90: New test. * gfortran.dg/comma_IO_extension_2.f90: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237330 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/gfortran.dg/comma_IO_extension_1.f90 b/gcc/testsuite/gfortran.dg/comma_IO_extension_1.f90 new file mode 100644 index 000000000000..abbb69d66f6c --- /dev/null +++ b/gcc/testsuite/gfortran.dg/comma_IO_extension_1.f90 @@ -0,0 +1,8 @@ +! { dg-do compile } +! PR 60751 +! Contributed by Walter Spector +program extracomma + implicit none + + write (*,*), 1, 2, 3 ! { dg-warning "Legacy Extension: Comma before i/o item list" } +end program diff --git a/gcc/testsuite/gfortran.dg/comma_IO_extension_2.f90 b/gcc/testsuite/gfortran.dg/comma_IO_extension_2.f90 new file mode 100644 index 000000000000..5e80a1742013 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/comma_IO_extension_2.f90 @@ -0,0 +1,9 @@ +! { dg-do compile } +! { dg-options "-std=legacy" } +! PR 60751 +! Contributed by Walter Spector +program extracomma + implicit none + + write (*,*), 1, 2, 3 +end program