solidity/test/libsolidity/smtCheckerTests/inline_assembly/local_var.sol

14 lines
221 B
Solidity
Raw Normal View History

pragma experimental SMTChecker;
contract C
{
function f(uint x) public pure returns (uint) {
assembly {
x := 2
}
return x;
}
}
// ----
// Warning: (97-121): Assertion checker does not support inline assembly.