blob: 9fd09dd7714fa982f9b53ed58fe352751bf29be4 (
plain) (
tree)
|
|
pragma experimental ABIEncoderV2;
contract C {
struct S { function() internal a; }
function f(S memory) public {}
}
// ----
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.
// TypeError: (103-104): Internal or recursive type is not allowed for public or external functions.
|