Moving some bytes and array tests to semanticTests

This commit is contained in:
Djordje Mijovic
2020-11-13 12:32:39 +01:00
parent bdf05bf8a0
commit 11033c9536
16 changed files with 297 additions and 398 deletions
@@ -0,0 +1,12 @@
contract c {
function set() public returns (bool) { data1 = msg.data; return true; }
function reset() public returns (bool) { data1 = data2; return true; }
bytes data1;
bytes data2;
}
// ----
// set(): 1, 2, 3, 4, 5 -> true
// storage: nonempty
// reset() -> true
// storage: empty