Debian Codegraph @

gcc/testsuite/gfortran.dg/operator_6.f90

raw
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 <[email protected]>
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