mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
276 B
Solidity
10 lines
276 B
Solidity
pragma experimental ABIEncoderV2;
|
|
|
|
contract C {
|
|
struct T { mapping(uint => uint) a; }
|
|
struct S { T[][2] b; }
|
|
function f(S memory) public {}
|
|
}
|
|
// ----
|
|
// TypeError 4103: (132-140): Only libraries are allowed to use the mapping type in public or external functions.
|