annotate gcc/testsuite/gfortran.dg/namelist_3.f90 @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ! { dg-do compile }
kono
parents:
diff changeset
2 ! { dg-options "-std=f95" }
kono
parents:
diff changeset
3 ! Check that a pointer cannot be a member of a namelist
kono
parents:
diff changeset
4 program namelist_3
kono
parents:
diff changeset
5 integer,pointer :: x
kono
parents:
diff changeset
6 allocate (x)
kono
parents:
diff changeset
7 namelist /n/ x ! { dg-error "NAMELIST attribute conflicts with POINTER attribute" }
kono
parents:
diff changeset
8 end program namelist_3