aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/functions/functions_identity_as_tuple.sol
blob: 2ecff63e12a0a353c72fe8f2c29610767888154b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pragma experimental SMTChecker;
contract C
{
    function h(uint x) public pure returns (uint) {
        return x;
    }
    function g() public pure {
        uint x;
        x = (h)(42);
        assert(x > 0);
    }
}

// ----
// Warning: (153-156): Assertion checker does not yet implement tuples and inline arrays.