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

9 lines
166 B
Solidity

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