solidity/test/libsolidity/semanticTests/getters/bytes.sol

12 lines
232 B
Solidity
Raw Normal View History

contract C {
bytes public b;
constructor() {
b = "abc";
}
}
// ====
// compileViaYul: also
2021-04-23 15:59:01 +00:00
// compileToEwasm: also
// ----
// b() -> 0x20, 0x03, 0x6162630000000000000000000000000000000000000000000000000000000000