OpenCores
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/] [result_1.f90] - Blame information for rev 302

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
!
3
! PR 36704: Procedure pointer as function result
4
!
5
! Contributed by Janus Weil 
6
 
7
function f() result(r)
8
real, parameter :: r = 5.0    ! { dg-error "attribute conflicts" }
9
end function
10
 
11
function g() result(s)
12
real :: a,b,c
13
namelist /s/ a,b,c    ! { dg-error "attribute conflicts" }
14
end function
15
 
16
function h() result(t)
17
type t    ! { dg-error "attribute conflicts" }
18
end function

powered by: WebSVN 2.1.0

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