aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/include_4.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gfortran.dg/include_4.f90')
-rw-r--r--gcc-4.9/gcc/testsuite/gfortran.dg/include_4.f9012
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gfortran.dg/include_4.f90 b/gcc-4.9/gcc/testsuite/gfortran.dg/include_4.f90
new file mode 100644
index 000000000..cf1efb159
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gfortran.dg/include_4.f90
@@ -0,0 +1,12 @@
+! { dg-do compile }
+!
+! PR fortran/37821
+!
+! Ensure that for #include "..." and for include the
+! current directory/directory of the source file is
+! included. See also include_5.f90
+
+subroutine one()
+ include "include_4.inc"
+ integer(i4) :: i
+end subroutine one