mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
226 B
Solidity
10 lines
226 B
Solidity
library L {
|
|
struct S
|
|
{
|
|
function(uint) internal returns (uint)[] x;
|
|
}
|
|
function f(S storage s) public { }
|
|
}
|
|
// ----
|
|
// TypeError: (104-115): Internal type is not allowed for public or external functions.
|