mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
235 B
Solidity
10 lines
235 B
Solidity
function suffix(string memory s) pure suffix returns (string memory) { return s; }
|
|
|
|
contract C {
|
|
function f() public pure {
|
|
delete "abc" suffix;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 4247: (143-155): Expression has to be an lvalue.
|