solidity/test/libsolidity/syntaxTests/parsing/conditional_with_assignment.sol
2018-06-20 12:53:38 +02:00

9 lines
142 B
Solidity

contract A {
function f() public pure {
uint y = 1;
uint x = 3 < 0 ? y = 3 : 6;
true ? x = 3 : 4;
}
}
// ----