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/] [imag_2.f] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! { dg-options "-std=f95" }
3
      program bug
4
      implicit none
5
      complex(kind=8) z
6
      double precision x
7
      z = cmplx(1.e0_8, 2.e0_8)
8
      x = imag(z)         ! { dg-error "has no IMPLICIT type" "" }
9
      x = imagpart(z)     ! { dg-error "has no IMPLICIT type" "" }
10
      x = realpart(z)     ! { dg-error "has no IMPLICIT type" "" }
11
      x = imag(x)         ! { dg-error "has no IMPLICIT type" "" }
12
      x = imagpart(x)     ! { dg-error "has no IMPLICIT type" "" }
13
      x = realpart(x)     ! { dg-error "has no IMPLICIT type" "" }
14
      end
15
 

powered by: WebSVN 2.1.0

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