mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
171 B
Solidity
12 lines
171 B
Solidity
contract C {
|
|
C[] y = new C[](3);
|
|
C[3] x;
|
|
function f() public {
|
|
C[3] memory z;
|
|
y.push(this);
|
|
x[0] = this;
|
|
z[0] = this;
|
|
}
|
|
}
|
|
|