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_test1.f03] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-std=f2003" }
3
! { dg-require-effective-target fortran_integer_16 }
4
!
5
 
6
subroutine c_kind_int128_1
7
  use, intrinsic :: iso_c_binding
8
  implicit none
9
 
10
  integer(c_int128_t) :: a   ! { dg-error "has no IMPLICIT type" }
11
  integer(c_int_least128_t) :: b   ! { dg-error "has no IMPLICIT type" }
12
  integer(c_int_fast128_t) :: c   ! { dg-error "has no IMPLICIT type" }
13
 
14
end subroutine c_kind_int128_1
15
 
16
 
17
subroutine c_kind_int128_2
18
  use, intrinsic :: iso_c_binding
19
 
20
  integer(c_int128_t) :: a   ! { dg-error "has not been declared or is a variable" }
21
  integer(c_int_least128_t) :: b   ! { dg-error "has not been declared or is a variable" }
22
  integer(c_int_fast128_t) :: c   ! { dg-error "has not been declared or is a variable" }
23
 
24
end subroutine c_kind_int128_2

powered by: WebSVN 2.1.0

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