solidity/test/libsolidity/syntaxTests/inlineAssembly/two_stack_slots.sol

11 lines
249 B
Solidity

contract C {
function f() pure external {
function() external two_stack_slots;
assembly {
let x := two_stack_slots
}
}
}
// ----
// TypeError: (132-147): Only types that use one stack slot are supported.