gcc/testsuite/gfortran.dg/pr83113.f90
raw| 1 | ! { dg-do compile } |
| 2 | ! PR fortran/83113 |
| 3 | module mm |
| 4 | implicit none |
| 5 | interface |
| 6 | module function c() |
| 7 | integer, dimension(2) :: c |
| 8 | end function c |
| 9 | end interface |
| 10 | end module mm |
| 11 | |
| 12 | submodule (mm) oo |
| 13 | implicit none |
| 14 | contains |
| 15 | module function c() |
| 16 | integer, dimension(3) :: c |
| 17 | end function c |
| 18 | end submodule oo |