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

9 lines
166 B
Solidity
Raw Normal View History

contract C {
function f(uint[] calldata bytesAsCalldata) external pure {
assembly {
let x := bytesAsCalldata.offset
}
}
}
// ----