mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add setimmutable and loadimmutable to dialect.
This commit is contained in:
committed by
chriseth
parent
53ea962864
commit
debcc8c056
@@ -0,0 +1,11 @@
|
||||
contract C {
|
||||
function f() public pure {
|
||||
assembly {
|
||||
setimmutable("abc", 0)
|
||||
loadimmutable("abc")
|
||||
}
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// DeclarationError: (63-75): Function not found.
|
||||
// DeclarationError: (92-105): Function not found.
|
||||
Reference in New Issue
Block a user