Add more tests for strings with unicode (escapes)

This commit is contained in:
Alex Beregszaszi
2020-07-13 20:43:30 +01:00
parent 289fc7a9d0
commit 950612cf42
11 changed files with 64 additions and 11 deletions
@@ -0,0 +1,5 @@
contract C {
string s = hex"a000";
}
// ----
// TypeError 7407: (28-37): Type literal_string (contains invalid UTF-8 sequence at position 0) is not implicitly convertible to expected type string storage ref.