mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Fix ICE when inlining function with tuple expression
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
pragma experimental SMTChecker;
|
||||
|
||||
contract C
|
||||
{
|
||||
function f(uint x) public pure returns (uint, uint) {
|
||||
return (x, x);
|
||||
}
|
||||
|
||||
function g() public pure {
|
||||
(uint a, uint b) = f(0);
|
||||
(uint c, uint d) = f(0);
|
||||
assert(a == c && b == d);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user