mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
212 B
Solidity
10 lines
212 B
Solidity
contract C {
|
|
function f() public pure {
|
|
assembly {
|
|
let x := _slot
|
|
}
|
|
}
|
|
}
|
|
// ----
|
|
// DeclarationError: (84-89): In variable names _slot and _offset can only be used as a suffix.
|