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! 6module foo 7end module foo 8 9program test 10 use foo, only : operator(.none.) ! { dg-error "not found in module" } 11 end program test 12