solidity/test/libsolidity/semanticTests/getters/bytes.sol
2021-04-23 17:00:01 +01:00

12 lines
232 B
Solidity

contract C {
bytes public b;
constructor() {
b = "abc";
}
}
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// b() -> 0x20, 0x03, 0x6162630000000000000000000000000000000000000000000000000000000000