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

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_11.f03, which it
3
! should be because dejagnu will sort the files.
4
module binding_label_tests_11_main
5
  use iso_c_binding, only: c_int
6
  implicit none
7
contains
8
  function one() bind(c, name="c_one") ! { dg-error "collides" }
9
    integer(c_int) one
10
    one = 1
11
  end function one
12
end module binding_label_tests_11_main
13
 
14
program main
15
  use binding_label_tests_11 ! { dg-error "collides" }
16
  use binding_label_tests_11_main
17
end program main
18
 
19
! { dg-final { cleanup-modules "binding_label_tests_11_main binding_label_tests_11" } }

powered by: WebSVN 2.1.0

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