solidity/test/libyul/yulInterpreterTests/hex_literals.yul
2021-04-08 15:03:33 +02:00

13 lines
436 B
Plaintext

{
let x := hex"112233445566778899aabbccddeeff6677889900"
let y := hex"1234_abcd"
sstore(0, x)
sstore(1, y)
}
// ----
// Trace:
// Memory dump:
// Storage dump:
// 0000000000000000000000000000000000000000000000000000000000000000: 112233445566778899aabbccddeeff6677889900000000000000000000000000
// 0000000000000000000000000000000000000000000000000000000000000001: 1234abcd00000000000000000000000000000000000000000000000000000000