solidity/test/libsolidity/smtCheckerTests/control_flow/assignment_in_declaration.sol
2018-11-22 13:33:28 +00:00

5 lines
108 B
Solidity

pragma experimental SMTChecker;
contract C {
function f() public pure { uint a = 2; assert(a == 2); }
}