aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gfortran.dg/operator_6.f90
blob: 5ca2d609bfad537413be392b5168f8258f567e60 (plain)
1
2
3
4
5
6
7
8
9
10
11
! { dg-do compile }
!
! PR fortran/29876 ICE on bad operator in ONLY clause of USE statement
! Testcase contributed by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
!
module foo
end module foo

program test
  use foo, only : operator(.none.)           ! { dg-error "not found in module" }
  end program test