solidity/test/libsolidity/smtCheckerTests/control_flow/assignment_in_declaration.sol

5 lines
108 B
Solidity
Raw Normal View History

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