pragma solidity ^0.5.0; contract Test { function a() public { bool x = false; bool y = false; bool z = false; z = (x) ? false : true; } }