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

11 lines
162 B
Solidity

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