solidity/test/libsolidity/syntaxTests/inlineAssembly/storage_reference_empty_offset.sol
2020-01-08 16:12:06 +01:00

10 lines
218 B
Solidity

contract C {
function f() public pure {
assembly {
let x := _offset
}
}
}
// ----
// DeclarationError: (84-91): In variable names "_slot" and "_offset" can only be used as a suffix.