solidity/test/libsolidity/semanticTests/array/push/nested_bytes_push.sol
2021-04-20 17:38:29 +02:00

16 lines
256 B
Solidity

pragma abicoder v2;
contract C {
bytes[] a;
function f() public {
a.push("abc");
a.push("def");
assert(a[0][0] == "a");
assert(a[1][0] == "d");
}
}
// ====
// compileViaYul: also
// ----
// f() ->