diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gfortran.dg/use_14.f90')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gfortran.dg/use_14.f90 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gfortran.dg/use_14.f90 b/gcc-4.9/gcc/testsuite/gfortran.dg/use_14.f90 new file mode 100644 index 000000000..63f3dff98 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gfortran.dg/use_14.f90 @@ -0,0 +1,19 @@ +! { dg-do compile } +! +! PR fortran/34657 +! +module test_mod +interface + subroutine my_sub (a) + real a + end subroutine +end interface +end module + +subroutine my_sub (a) + use test_mod, gugu => my_sub + real a + print *, a +end subroutine + +END |