repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
binding_label_tests_7.f03
blob
1234bb535387223b844a29ba5c806f19f57e3f74
1
! { dg-do compile }
2
module A
3
use, intrinsic :: iso_c_binding, only: c_int
4
integer(c_int), bind(c, name='my_c_print') :: my_int ! { dg-error "collides" }
5
end module A
6
7
program main
8
use A
9
interface
10
subroutine my_c_print() bind(c) ! { dg-error "collides" }
11
end subroutine my_c_print
12
end interface
13
14
call my_c_print()
15
end program main