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

contract C {
    struct S1 { function() external a; }
    struct S2 { bytes24 a; }
    function f(S1) pure {}
    function f(S2) pure {}
}
// ----
// Warning: (0-33): Experimental features are turned on. Do not use experimental features on live deployments.
// Warning: (122-144): No visibility specified. Defaulting to "public". 
// Warning: (149-171): No visibility specified. Defaulting to "public".