add compile test for empty class