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