mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
249 B
Solidity
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.
|