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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
common_18.f90
blob
374eda8eee12d95bbed60b23a302c1d9769a0042
1
! { dg-do compile }
2
!
3
! PR fortran/48858
4
!
5
!
6
use
iso_c_binding
7
contains
8
subroutine
one
()
9
bind
(
C
,
name
=
"com1"
) :: /
foo
/
10
integer
(
c_int
) ::
a
11
common
/
foo
/
a
12
end subroutine
13
subroutine
two
()
14
integer
(
c_long
) ::
a
15
common
/
foo
/
a
16
end subroutine
two
17
end
18
19
! { dg-final { scan-assembler "com1" } }
20
! { dg-final { scan-assembler "foo_" } }