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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR fortran/38718
4
!
5
  implicit none
6
  real(kind=8), parameter :: r = kind(0) + 0.2
7
  complex(kind=8), parameter :: c = (r, -9.3)
8
  integer, parameter :: k = nint(dreal(c))
9
  integer, parameter :: l = nint(realpart(c))
10
  integer(kind=k) :: i
11
  integer(kind=l) :: j
12
  i = 42
13
  j = 42
14
  print *, k, i, j, r
15
  end

powered by: WebSVN 2.1.0

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