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

12 lines
251 B
Solidity
Raw Normal View History

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