2018-08-01 21:37:46 +00:00
pragma experimental SMTChecker ;
2018-11-14 16:08:53 +00:00
2018-08-01 21:37:46 +00:00
contract C {
struct A { uint a ; uint b ; }
2018-11-14 16:08:53 +00:00
function f ( ) public pure returns ( uint ) {
A memory a = A ( { a : 1 , b : 2 } ) ;
2018-08-01 21:37:46 +00:00
}
}
// ----
2020-10-08 10:47:47 +00:00
// Warning 6321: (117-121): Unnamed return variable can remain unassigned. Add an explicit return with value to all non-reverting code paths or name the variable.
2020-06-19 00:26:46 +00:00
// Warning 2072: (133-143): Unused local variable.
// Warning 8364: (146-147): Assertion checker does not yet implement type type(struct C.A storage pointer)
// Warning 4639: (146-163): Assertion checker does not yet implement this expression.
2020-11-02 14:56:48 +00:00
// Warning 8364: (146-147): Assertion checker does not yet implement type type(struct C.A storage pointer)
// Warning 4639: (146-163): Assertion checker does not yet implement this expression.