[SMTChecker] Fix ICE when inlining function with tuple expression

This commit is contained in:
Leonardo Alt
2019-07-26 16:29:29 +02:00
parent 4f7fec6911
commit 847f574e22
3 changed files with 34 additions and 16 deletions
@@ -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);
}
}