solidity/test/libyul/yulSyntaxTests/metadata_access_subobject.yul
2021-06-21 18:20:31 +02:00

13 lines
189 B
Plaintext

object "A" {
code {
sstore(dataoffset(".metadata.x"), 0)
}
object ".metadata" {
code {}
data "x" "ABC"
}
}
// ----
// TypeError 3517: (41-54): Unknown data object ".metadata.x".