mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
261 B
Solidity
12 lines
261 B
Solidity
|
library L
|
||
|
{
|
||
|
struct Nested
|
||
|
{
|
||
|
Non y;
|
||
|
}
|
||
|
function f(function(Nested memory) external) external pure {}
|
||
|
}
|
||
|
// ----
|
||
|
// DeclarationError: (32-35): Identifier not found or not unique.
|
||
|
// TypeError: (63-76): Internal type cannot be used for external function type.
|