solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/variable_declaration_suffix_offset.sol

12 lines
347 B
Solidity
Raw Normal View History

contract C {
function f() public pure {
assembly {
let x.offset := 1
let x.slot := 1
}
}
}
// ----
// DeclarationError 3927: (79-87): User-defined identifiers in inline assembly cannot contain '.'.
// DeclarationError 3927: (109-115): User-defined identifiers in inline assembly cannot contain '.'.