Add tests for ABI coding empty strings and string literals

Include the case of revert("")
This commit is contained in:
Alex Beregszaszi
2020-11-04 17:48:59 +00:00
parent 24cce56215
commit 39f6286e9f
6 changed files with 127 additions and 0 deletions
@@ -0,0 +1,9 @@
contract C {
function f() public pure returns (string memory) {
return "";
}
}
// ====
// compileViaYul: also
// ----
// f() -> 0x20, 0