mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
347 B
Solidity
12 lines
347 B
Solidity
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 '.'.
|