aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/185_invalid_utf8_implicit.sol
blob: 5440b4255ecb60230072acbf3660315772e38d55 (plain) (tree)
1
2
3
4
5




                                                                                                                                                             
contract C {
    string s = "\xa0\x00";
}
// ----
// TypeError: (28-38): Type literal_string (contains invalid UTF-8 sequence at position 0) is not implicitly convertible to expected type string storage ref.