blob: 68cc7d558ffd4de4d49683b731f130986ca01752 (
plain)
1
2
3
4
5
6
7
|
! { dg-do compile }
! Check that a pointer cannot be a member of a namelist
program namelist_3
integer,pointer :: x
allocate (x)
namelist /n/ x ! { dg-error "NAMELIST attribute conflicts with POINTER attribute" "" }
end program namelist_3
|