Add tests for syntax that should produce compile time errors