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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [c_kind_int128_test2.f03] - Rev 694

Compare with Previous | Blame | View Log

! { dg-do run }
! { dg-options "-std=gnu" }
! { dg-require-effective-target fortran_integer_16 }
!
! Note: int_fast128_t currently not supported.

program c_kind_int128
  use, intrinsic :: iso_c_binding
  integer(c_int128_t) :: a  
  integer(c_int_least128_t) :: b  
! integer(c_int_fast128_t) :: c
    
  if (sizeof (a) /= 16) call abort 
  if (sizeof (b) /= 16) call abort 
!  if (sizeof (c) /= 16) call abort 
end program c_kind_int128

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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