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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR 45577: [4.6 Regression] Bogus(?) "... type incompatible with source-expr ..." error
4
!
5
! Contributed by Dominique d'Humieres 
6
 
7
program main
8
 
9
type b_obj
10
  integer,allocatable :: c(:)
11
  real :: r = 5.
12
end type b_obj
13
 
14
type (b_obj),allocatable :: b(:)
15
integer,allocatable :: c(:)
16
 
17
allocate(b(3),c(3))
18
 
19
end program main

powered by: WebSVN 2.1.0

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