OSDN Git Service

PR debug/43329
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / operator_6.f90
1 ! { dg-do compile }
2 !
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>
5 !
6 module foo
7 end module foo
8
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" } }