! { dg-do compile } ! PR fortran/66106 ! ! Original code from Gerhard Steinmetz ! program p interface operator ( .gt. ) end interface operator ! { dg-error "END INTERFACE OPERATOR" } end program p ! { dg-error "END INTERFACE" } ! { dg-error "Unexpected end of file" "" { target "*-*-*" } 0 }