mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
637 B
Solidity
16 lines
637 B
Solidity
contract C {
|
|
function f() public pure {
|
|
assembly {
|
|
let x_offset := 1
|
|
let x_slot := 1
|
|
let _offset := 1
|
|
let _slot := 1
|
|
}
|
|
}
|
|
}
|
|
// ----
|
|
// DeclarationError 9155: (79-87): In variable declarations _slot and _offset can not be used as a suffix.
|
|
// DeclarationError 9155: (109-115): In variable declarations _slot and _offset can not be used as a suffix.
|
|
// DeclarationError 9155: (137-144): In variable declarations _slot and _offset can not be used as a suffix.
|
|
// DeclarationError 9155: (166-171): In variable declarations _slot and _offset can not be used as a suffix.
|