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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [derived_constructor_comps_3.f90] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! gfortran was ICEing for the constructor of
4
! componentfree types.
5
!
6
! Contributed by James Van Buskirk
7
! http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/c8dd08d6da052499/
8
!
9
 module bug4_mod
10
   implicit none
11
   type bug4 ! no components
12
   end type bug4
13
end module bug4_mod
14
 
15
program bug4_structure
16
   use bug4_mod
17
   implicit none
18
   type(bug4) t
19
   t = bug4()
20
   write(*,*) t
21
end program bug4_structure
22
! { dg-final { cleanup-modules "bug4_mod" } }

powered by: WebSVN 2.1.0

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