mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
256 B
Solidity
8 lines
256 B
Solidity
function suffix(string memory value) pure returns (string memory) { return value; }
|
|
|
|
contract C {
|
|
string x = hex"abcd" suffix;
|
|
}
|
|
// ----
|
|
// TypeError 8838: (113-129): The type of the literal cannot be converted to the parameter of the suffix function.
|