mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
221 B
Solidity
9 lines
221 B
Solidity
pragma experimental ABIEncoderV2;
|
|
|
|
contract C {
|
|
struct S { function() internal a; }
|
|
function f(S memory) public {}
|
|
}
|
|
// ----
|
|
// TypeError: (103-111): Internal type is not allowed for public or external functions.
|