OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [allocate_scalar_with_shape.f90] - Blame information for rev 437

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do "compile" }
2
! PR fortran/41940
3
 
4
integer, allocatable :: a
5
TYPE :: x
6
  integer, allocatable :: a
7
END TYPE
8
TYPE (x) :: y
9
 
10
allocate(a(4))     ! { dg-error "Shape specification for allocatable scalar" }
11
allocate(y%a(4))   ! { dg-error "Shape specification for allocatable scalar" }
12
end
13
 

powered by: WebSVN 2.1.0

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