added test case for compile bug