URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [interface_18.f90] - Rev 700
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }! { dg-options "-std=f2003" }!! Public procedures with private types for the dummies! is valid F2003, but invalid per Fortran 95, Sect. 5.2.3! See interface_15.f90 for the F95 test case.!module mytype_applicationimplicit noneprivatepublic :: mytype_testtype :: mytype_typeinteger :: i=0end type mytype_typecontainssubroutine mytype_test( mytype )type(mytype_type), intent(in out) :: mytypeend subroutine mytype_testend module mytype_application! { dg-final { cleanup-modules "mytype_application" } }
Go to most recent revision | Compare with Previous | Blame | View Log
