solidity/test/libsolidity/smtCheckerTests/inline_assembly/local_var.sol
2022-04-01 23:41:18 -05:00

14 lines
278 B
Solidity

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