2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / namelist_print_1.f
blobd97d1c9e9a44f08ce05ae9ca3a07cddb4a4393a8
1 ! Test Non standard PRINT namelist - PR21432
3 ! Contributor Paul Thomas <pault@gcc.gnu.org>
5 ! { dg-do run }
6 ! { dg-options "-std=gnu" }
8 real x
9 namelist /mynml/ x
10 x = 1
11 ! { dg-output "^" }
12 print mynml ! { dg-output "&MYNML(\n|\r\n|\r) X= 1.00000000 ,(\n|\r\n|\r) /(\n|\r\n|\r)" }
13 end