mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
223 B
Solidity
7 lines
223 B
Solidity
|
library L {
|
||
|
// Used to cause internal error
|
||
|
function g(function(uint) internal returns (uint)[] storage x) public { }
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (63-113): Internal type is not allowed for public or external functions.
|