]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/gfortran.dg/include_17.f90
Fortran: Improve -Wmissing-include-dirs warnings [PR55534]
[thirdparty/gcc.git] / gcc / testsuite / gfortran.dg / include_17.f90
index 0ed5c86d323ccd769306f153a6f55fa421d4c881..06677590be3432f83c134a4738c7673639fe43b5 100644 (file)
@@ -1,4 +1,6 @@
 ! { dg-do compile }
-! { dg-options "-I foo-bar -Wno-missing-include-dirs" }
+! { dg-options "-I foo-bar -J foo/bar" }
 end 
+! { dg-warning "Nonexistent include directory 'foo-bar/'" "" { target *-*-* } 0 }
+! { dg-warning "Nonexistent include directory 'foo/bar/'" "" { target *-*-* } 0 }