solidity/test/libsolidity/smtCheckerTests/array_members/pop_constructor_unsafe.sol
2020-07-07 12:16:18 +02:00

11 lines
157 B
Solidity

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