summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/namelist_print_2.f
blob: c37e3591d17fb3527b9b362b7e7bebc511a0083f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
! Test Non standard PRINT namelist - PR21432 is
! not accepted by -std=f95
!
! Contributor Paul Thomas  <pault@gcc.gnu.org>
!
! { dg-do compile }
! { dg-options "-std=f95" }
!
      real  x
      namelist /mynml/ x
      x = 1
      print mynml  ! { dg-error "PRINT namelist.*extension" "" }
      end