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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR 47023: C_Sizeof: Rejects valid code
4
!
5
! Contributed by Tobias Burnus 
6
 
7
  use iso_c_binding
8
  type t
9
    integer(c_int) :: i
10
  end type t
11
contains
12
  subroutine test(a) bind(c)  ! { dg-error "is not C interoperable" }
13
    class(t) :: a
14
  end subroutine
15
end

powered by: WebSVN 2.1.0

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