mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
233 B
Solidity
11 lines
233 B
Solidity
pragma experimental ABIEncoderV2;
|
|
|
|
contract C {
|
|
function f(Data.S memory a) public {}
|
|
}
|
|
contract Data {
|
|
struct S { S x; }
|
|
}
|
|
// ----
|
|
// TypeError: (63-78): Recursive type not allowed for public or external contract functions.
|