2008-07-06 Kai Tietz <kai.tietz@onevision.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / operator_6.f90
blobf7b4693f58f6eee00cbff17c78359e6c51470c50
1 ! { dg-do compile }
3 ! PR fortran/29876 ICE on bad operator in ONLY clause of USE statement
4 ! Testcase contributed by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
6 module foo
7 end module foo
9 program test
10 use foo, only : operator(.none.) ! { dg-error "not found in module" }
11 end program test
12 ! { dg-final { cleanup-modules "foo" } }