mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-28 18:56:06 +00:00
8 lines
214 B
Fortran
8 lines
214 B
Fortran
! { 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
|