diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/named_interface.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/named_interface.f90 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/named_interface.f90 b/gcc/testsuite/gfortran.dg/named_interface.f90 new file mode 100644 index 000000000..29cfae882 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/named_interface.f90 @@ -0,0 +1,11 @@ +! { dg-do compile } +! PR 20363 +module snafu + interface foo + subroutine really_snafu (foo) + integer, intent (inout) :: foo + end subroutine really_snafu + end interface foo +end module snafu + +! { dg-final { cleanup-modules "snafu" } } |