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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! This file must be compiled AFTER binding_label_tests_13.f03, which it
3
! should be because dejagnu will sort the files.  The module file
4
! binding_label_tests_13.mod can not be removed until after this test is done.
5
module binding_label_tests_13_main
6
  use, intrinsic :: iso_c_binding, only: c_int
7
  integer(c_int) :: c3 ! { dg-error "collides" }
8
  bind(c) c3
9
 
10
contains
11
  subroutine c_sub() BIND(c, name = "C_Sub")
12
    use binding_label_tests_13 ! { dg-error "collides" }
13
  end subroutine c_sub
14
end module binding_label_tests_13_main
15
! { dg-final { cleanup-modules "binding_label_tests_13 binding_label_tests_13_main" } }
16
 

powered by: WebSVN 2.1.0

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