Test -X overloads on GLOB and IO refs.