mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
243 B
Solidity
6 lines
243 B
Solidity
contract C {
|
|
string s = string("\xa0\x00");
|
|
}
|
|
// ----
|
|
// TypeError 9640: (28-46='string("\xa0\x00")'): Explicit type conversion not allowed from "literal_string hex"a000"" to "string memory". Contains invalid UTF-8 sequence at position 0.
|