URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [alloc_comp_constraint_3.f90] - Rev 329
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! Check that default initializer for allocatable components isn't accepted (PR
! 20541)
program main
type :: foo
integer, allocatable :: a(:) = [ 1 ] ! { dg-error "Initialization of allocatable" }
integer :: x ! Just to avoid "extra" error messages about empty type.
end type foo
end program main
Go to most recent revision | Compare with Previous | Blame | View Log