Add negative compilation tests.