[SMTChecker] Fix handling of function calls where the function identifier is nested in a tuple.

This commit is contained in:
Martin Blicha
2020-12-14 16:19:24 +01:00
parent e3b009d6a7
commit 0be325dc0d
3 changed files with 41 additions and 2 deletions
@@ -0,0 +1,15 @@
pragma experimental SMTChecker;
contract C {
uint x;
function f() public {
x = 0;
((inc))();
assert(x == 1); // should hold
}
function inc() internal returns (uint) {
require(x < 100);
return ++x;
}
}