Fix Trac #3126: matching overloaded literals