summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/pr37287-2.F90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/pr37287-2.F90')
-rw-r--r--gcc/testsuite/gfortran.dg/pr37287-2.F9010
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/pr37287-2.F90 b/gcc/testsuite/gfortran.dg/pr37287-2.F90
new file mode 100644
index 000000000..330ab42cd
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/pr37287-2.F90
@@ -0,0 +1,10 @@
+! PR debug/37287
+! { dg-do compile }
+! { dg-options "-g" }
+module pr37287_2
+#ifdef PR37287_1
+ use pr37287_1
+#endif
+ implicit none
+end module pr37287_2
+! { dg-final { cleanup-modules "pr37287_2" } }