mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
336 B
Solidity
13 lines
336 B
Solidity
function suffix(string memory value) pure returns (string memory) { return value; }
|
|
|
|
contract C {
|
|
function f() public pure {
|
|
"" suffix;
|
|
'' suffix;
|
|
"abcd" suffix;
|
|
'abcd' suffix;
|
|
//hex"abcd" suffix; // Hex literals are only implicitly convertible to bytes
|
|
unicode"😃" suffix;
|
|
}
|
|
}
|