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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [test_common_binding_labels_3_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 depends on the module test_common_binding_labels_3.  That module
3
! must be compiled first and not be removed until after this test.
4
module test_common_binding_labels_3_main
5
  use, intrinsic :: iso_c_binding, only: c_int
6
  integer(c_int), bind(c, name="my_common_block") :: my_int ! { dg-error "collides" }
7
end module test_common_binding_labels_3_main
8
 
9
program main
10
  use test_common_binding_labels_3_main
11
  use test_common_binding_labels_3 ! { dg-error "collides" }
12
end program main
13
 
14
! { dg-final { cleanup-modules "test_common_binding_labels_3_main test_common_binding_labels_3" } }

powered by: WebSVN 2.1.0

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