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
2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
bind_c_module.f90
blob
a17f5d0b34b1ec500b8707e4c4b98f020b0fb6a3
1
! { dg-do compile }
2
! See PR fortran/36251.
3
module
a
4
implicit none
5
integer
::
i
=
42
6
end module
a
7
8
! Causes ICE
9
module
b
10
use
iso_c_binding
11
use
a
12
implicit none
13
bind
(
c
) ::
a
! { dg-error "applied to" }
14
end module
b
15
16
! Causes ICE
17
module
d
18
use
a
19
implicit none
20
bind
(
c
) ::
a
! { dg-error "applied to" }
21
end module
d
22
! { dg-final { cleanup-modules "a" } }