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

Subversion Repositories openrisc

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

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

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

powered by: WebSVN 2.1.0

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