mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
255 B
Solidity
15 lines
255 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() -> |