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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [internal_dummy_1.f90] - Blame information for rev 193

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

Line No. Rev Author Line
1 149 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.