if with else, compile test