gcc/testsuite/gfortran.dg/pr61765.f90
raw| 1 | ! { dg-do compile } |
| 2 | subroutine sub1(x) |
| 3 | integer, intent(in) :: x |
| 4 | entry sub1_c(x) bind(c) |
| 5 | end subroutine sub1 |
| 6 | |
| 7 | subroutine sub2_c(x) bind(c) |
| 8 | integer, intent(in) :: x |
| 9 | entry sub2(x) |
| 10 | end subroutine sub2_c |
| 11 | |
| 12 | subroutine sub3_c(x) bind(c) |
| 13 | integer, intent(in) :: x |
| 14 | entry sub3_c_c(x) bind(c) |
| 15 | end subroutine sub3_c |