aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/smtCheckerTests/complex/warn_on_struct.sol
blob: 6d9afe7cd8738650f9f31bc42057a5e2387a468f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pragma experimental SMTChecker;

contract C {
    struct A { uint a; uint b; }
    function f() public pure returns (uint) {
        A memory a = A({ a: 1, b: 2 });
    }
}
// ----
// Warning: (133-143): Unused local variable.
// Warning: (133-143): Assertion checker does not yet support the type of this variable.
// Warning: (146-163): Assertion checker does not yet implement this expression.
// Warning: (146-163): Internal error: Expression undefined for SMT solver.
// Warning: (146-163): Assertion checker does not yet implement this type.