solidity/test/libyul/yulInterpreterTests/hex_literals.yul

13 lines
436 B
Plaintext
Raw Normal View History

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