Add a compile-fail test for qualification lint