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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-fcoarray=single" }
3
!
4
! Before a bogus error (argument not simply contiguous)
5
! was printed instead of the rank mismatch
6
!
7
! PR fortran/18918
8
!
9
integer :: A[*]
10
call bar(A) ! { dg-error "Rank mismatch in argument" }
11
contains
12
  subroutine bar(x)
13
    integer :: x(1)[*]
14
  end subroutine bar
15
end

powered by: WebSVN 2.1.0

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