mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Tests.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
contract C {
|
||||
struct Y {
|
||||
Y[] x;
|
||||
}
|
||||
mapping(uint256 => Y) public m;
|
||||
}
|
||||
// ----
|
||||
// TypeError: (53-83): Internal or recursive type is not allowed for public state variables.
|
||||
Reference in New Issue
Block a user