blob: ee028dd0e5e6b81cb14e86c3afebcfa151816e0c (
plain)
1
2
3
4
5
6
7
|
! { dg-do compile }
! Check that private entities in public namelists are rejected
module namelist_1
public
integer,private :: x
namelist /n/ x ! { dg-error "cannot be member of PUBLIC namelist" "" }
end module
|