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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [argument_checking_10.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 fortran/34425
4
!
5
! Contributed by Joost VandeVondele
6
!
7
IMPLICIT NONE
8
INTEGER :: i(-1:1)
9
INTEGER :: j(-2:-1)
10
CALL S(i)
11
CALL S(j) ! { dg-warning "Actual argument contains too few elements for dummy argument 'i' .2/3." }
12
CONTAINS
13
 SUBROUTINE S(i)
14
  INTEGER :: i(0:2)
15
 END SUBROUTINE
16
END

powered by: WebSVN 2.1.0

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