mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add more syntax tests for Yul objects
Also move some of them from boost tests.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
object "A" {
|
||||
code {
|
||||
let x := "B"
|
||||
pop(dataoffset(x))
|
||||
}
|
||||
|
||||
data "B" hex"00"
|
||||
}
|
||||
// ----
|
||||
// TypeError 9114: (47-57): Function expects direct literals as arguments.
|
||||
Reference in New Issue
Block a user