URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [used_types_1.f90] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! This checks that the fix for PR25730, which was a regression
! caused by the fix for PR19362.
!
! Contributed by Andrea Bedini <andrea.bedini@gmail.com>
!==============
MODULE testcase
TYPE orbit_elem
CHARACTER(4) :: coo
END TYPE orbit_elem
END MODULE
MODULE tp_trace
USE testcase
TYPE(orbit_elem) :: tp_store
CONTAINS
SUBROUTINE str_clan()
USE testcase
TYPE(orbit_elem) :: mtpcar
mtpcar%coo='a' !ICE was here
END SUBROUTINE str_clan
END MODULE
! { dg-final { cleanup-modules "testcase tp_trace" } }
Go to most recent revision | Compare with Previous | Blame | View Log