blob: 3389ffe4bf1a9c484b44f4be96b6ea0ffacb00a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
pragma experimental ABIEncoderV2;
contract C {
struct S1 { int i; }
struct S2 { int i; }
function f(S1 memory) public pure {}
function f(S2 memory) public pure {}
}
// ----
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.
// TypeError: (143-179): Function overload clash during conversion to external types for arguments.
|