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/] [complex_int_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
! Complex constants with integer components should take ther kind from
3
! the real typed component, or default complex type if both components have
4
! integer type.
5
program prog
6
  call test1 ((1_8, 1.0_4))
7
  call test2 ((1_8, 2_8))
8
contains
9
subroutine test1(x)
10
  complex(4) :: x
11
end subroutine
12
subroutine test2(x)
13
  complex :: x
14
end subroutine
15
end program

powered by: WebSVN 2.1.0

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