solidity/test/libyul/yulSyntaxTests/objects/datasize_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
169 B
Plaintext

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