solidity/test/libsolidity/smtCheckerTests/types/array_literal_1.sol

12 lines
261 B
Solidity

pragma experimental SMTChecker;
contract C
{
function f() public pure {
uint[3] memory array = [uint(1), 2, 3];
}
}
// ----
// Warning 2072: (76-96): Unused local variable.
// Warning 2177: (99-114): Assertion checker does not yet implement inline arrays.