solidity/test/libyul/yulSyntaxTests/objects/datasize_nonliteral.yul

11 lines
169 B
Plaintext
Raw Normal View History

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