OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [namelist_1.f90] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! Check that private entities in public namelists are rejected
3
module namelist_1
4
  public
5
  integer,private :: x
6
  namelist /n/ x ! { dg-error "cannot be member of PUBLIC namelist" "" }
7
end module
8
 
9
! { dg-final { cleanup-modules "namelist_1" } }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.