solidity/test/libsolidity/smtCheckerTests/inline_assembly/local_var.sol
2021-04-08 21:03:39 +02:00

15 lines
362 B
Solidity

contract C
{
function f(uint x) public pure returns (uint) {
assembly {
x := 2
}
return x;
}
}
// ====
// SMTEngine: all
// ----
// 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).