2018-05-30 16:41:34 +00:00
|
|
|
pragma experimental ABIEncoderV2;
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
struct S1 { function() external a; }
|
|
|
|
struct S2 { bytes24 a; }
|
2018-07-12 01:24:50 +00:00
|
|
|
function f(S1 memory) public pure {}
|
|
|
|
function f(S2 memory) public pure {}
|
2018-05-30 16:41:34 +00:00
|
|
|
}
|
|
|
|
// ----
|