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

11 lines
208 B
Solidity
Raw Normal View History

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