pragma solidity ^0.5.0; contract Test { function a(uint x,uint y, uint z) public { if (x==y){ } else if (x==2){ if (y==z){ } } } }