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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! { dg-require-effective-target fortran_large_int }
3
 
4
! Testing library calls on large integer kinds (larger than kind=8)
5
  implicit none
6
 
7
  integer,parameter :: k = selected_int_kind (range (0_8) + 1)
8
 
9
  integer(kind=k) :: i, j
10
  integer(8) :: a, b
11
 
12
  i = 0; j = 1; a = i; b = j
13
  if (i ** j /= a ** b) call abort
14
 
15
end

powered by: WebSVN 2.1.0

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