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

powered by: WebSVN 2.1.0

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