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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [f2c_8.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 "-ff2c" }
3
! PR 25392
4
! Verify that the type of the result variable matches the declared
5
! type of the function.  The actual type of the function may be
6
! different for f2c calling conventions.
7
real function goo () result (foo)
8
  real x
9
  foo = sign(foo, x)
10
end
11
 
12
real function foo ()
13
  real x
14
  foo = sign(foo, x)
15
end
16
 

powered by: WebSVN 2.1.0

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