test for compile errors