blob: 775258c213030eb97b10ba5c1fc58e7a0941bc33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
pragma experimental ABIEncoderV2;
contract C {
struct S { function() internal a; }
function f(S) 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.
|