aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/040_functions_with_different_structs_in_interface.sol
blob: 6ff8fd6e0ec9b2b64cb657a4bfdfc0345bcb6084 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
pragma experimental ABIEncoderV2;

contract C {
    struct S1 { function() external a; }
    struct S2 { bytes24 a; }
    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.