mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
279 B
Solidity
12 lines
279 B
Solidity
library Test {
|
|
struct MyStructName {
|
|
address addr;
|
|
MyStructName[] x;
|
|
function() internal y;
|
|
}
|
|
|
|
function f(MyStructName storage s) public {}
|
|
}
|
|
// ----
|
|
// TypeError 4103: (142-164): Internal type is not allowed for public or external functions.
|