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

15 lines
362 B
Solidity
Raw Normal View History

contract C
{
function f(uint x) public pure returns (uint) {
assembly {
x := 2
}
return x;
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
// ----
2021-03-31 15:11:54 +00:00
// Warning 7737: (64-88): Inline assembly may cause SMTChecker to produce spurious warnings (false positives).
// Warning 7737: (64-88): Inline assembly may cause SMTChecker to produce spurious warnings (false positives).