Complie ok except some test cases.