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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [warn_unused_dummy_argument_3.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 "-Wunused-dummy-argument -Wunused-parameter" }
3
! PR 48847 - we used to generate a warning for g(), and none for h()
4
program main
5
contains
6
  function f(g,h)
7
    interface
8
       real function g()
9
       end function g
10
    end interface
11
    interface
12
       real function h()  !  { dg-warning "Unused dummy argument" }
13
       end function h
14
    end interface
15
    real :: f
16
    f = g()
17
  end function f
18
end program main

powered by: WebSVN 2.1.0

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