OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [internal_dummy_1.f90] - Blame information for rev 384

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do compile }
2
! Tests the fix for 20861, in which internal procedures were permitted to
3
! be dummy arguments.
4
!
5
! Contributed by Joost VandeVondele  
6
!
7
CALL DD(TT) ! { dg-error "is not allowed as an actual argument" }
8
CONTAINS
9
SUBROUTINE DD(F)
10
  INTERFACE
11
   SUBROUTINE F(X)
12
    REAL :: X
13
   END SUBROUTINE F
14
  END INTERFACE
15
END SUBROUTINE DD
16
SUBROUTINE TT(X)
17
  REAL :: X
18
END SUBROUTINE
19
END

powered by: WebSVN 2.1.0

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