solidity/test/libsolidity/syntaxTests/array/string_pop.sol

9 lines
209 B
Solidity
Raw Normal View History

contract C {
string data;
function test() public {
data.pop();
}
}
// ----
// TypeError: (65-73): Member "pop" not found or not visible after argument-dependent lookup in string storage ref.