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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [asynchronous_3.f03] - Blame information for rev 774

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 fortran/44457 - no array-subscript actual argument
4
!                    for an asynchronous dummy
5
!
6
 
7
  integer :: a(10), sect(3)
8
  sect = [1,2,3]
9
  call f(a(sect))    ! { dg-error "incompatible" }
10
  call f(a(::2))
11
contains
12
  subroutine f(x)
13
    integer, asynchronous :: x(:)
14
  end subroutine f
15
end

powered by: WebSVN 2.1.0

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