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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-std=f2003" }
3
!
4
! PR 43388: [F2008][OOP] ALLOCATE with MOLD=
5
!
6
! Contributed by Janus Weil 
7
 
8
type :: t
9
end type
10
 
11
class(t),allocatable :: x
12
type(t) :: z
13
 
14
allocate(x,MOLD=z)  ! { dg-error "MOLD tag at" }
15
 
16
end

powered by: WebSVN 2.1.0

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