Commit 0891fd8f by Sa Liu

Test int128 when -std=gnu

From-SVN: r135348
parent 96d5b528
! { dg-do run }
! { dg-options "-std=gnu" }
! { dg-require-effective-target fortran_integer_16 }
!
! Note: int_fast*_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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment