Checks that string literals are not used with == or !=.