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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
module c_kind_tests_2
3
  use, intrinsic :: iso_c_binding
4
 
5
  integer, parameter :: myF = c_float
6
  real(myF), bind(c) :: myCFloat
7
  integer(myF), bind(c) :: myCInt       ! { dg-warning "is for type REAL" }
8
  integer(c_double), bind(c) :: myCInt2 ! { dg-warning "is for type REAL" }
9
 
10
  integer, parameter :: myI = c_int
11
  real(myI) :: myReal             ! { dg-warning "is for type INTEGER" }
12
  real(myI), bind(c) :: myCFloat2 ! { dg-warning "is for type INTEGER" }
13
  real(4), bind(c) :: myFloat     ! { dg-warning "may not be a C interoperable" }
14
end module c_kind_tests_2
15
! { dg-final { cleanup-modules "c_kind_tests_2" } }

powered by: WebSVN 2.1.0

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