solidity/test/libsolidity/smtCheckerTests/array_members/pop_constructor_unsafe.sol

11 lines
164 B
Solidity

pragma experimental SMTChecker;
contract C {
uint[] a;
constructor() public {
a.pop();
}
}
// ----
// Warning 2529: (83-90): Empty array "pop" detected here.