2019-11-06 17:06:36 +00:00
|
|
|
contract C {
|
|
|
|
function f() public pure {
|
|
|
|
assembly {
|
|
|
|
let x_offset := 1
|
|
|
|
let x_slot := 1
|
|
|
|
let _offset := 1
|
|
|
|
let _slot := 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// 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.
|