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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR 50073: gfortran must not accept function name when result name is present
4
!
5
! Contributed by Vittorio Zecca 
6
 
7
function fun() result(f)
8
  pointer fun       ! { dg-error "not allowed" }
9
  dimension fun(1)  ! { dg-error "not allowed" }
10
  f=0
11
end

powered by: WebSVN 2.1.0

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