solidity/test/libsolidity/syntaxTests/inlineAssembly/two_stack_slots.sol
2022-04-01 23:41:18 -05:00

11 lines
272 B
Solidity

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