solidity/test/libyul/yulSyntaxTests/objects/dataoffset_nonliteral.yul
Alex Beregszaszi 291c359ee9 Add more syntax tests for Yul objects
Also move some of them from boost tests.
2020-08-05 21:01:46 +01:00

11 lines
171 B
Plaintext

object "A" {
code {
let x := "B"
pop(dataoffset(x))
}
data "B" hex"00"
}
// ----
// TypeError 9114: (47-57): Function expects direct literals as arguments.