| 1 |
! { dg-do compile } |
| 2 |
! { dg-options "-std=f2008" } |
| 3 |
! |
| 4 |
! PR fortran/48858 |
| 5 |
! |
| 6 |
subroutine test |
| 7 |
integer :: l, m |
| 8 |
common /g/ l |
| 9 |
common /jj/ m |
| 10 |
bind(C,name="bar") :: /g/ |
| 11 |
bind(C,name="foo") :: /jj/ |
| 12 |
end |
| 13 |
|
| 14 |
subroutine g |
| 15 |
call jj() |
| 16 |
end |
| 17 |
|
| 18 |
|