mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
240 B
Solidity
12 lines
240 B
Solidity
contract D {
|
|
struct S { uint a; uint b; }
|
|
}
|
|
contract C {
|
|
function f() internal pure {
|
|
(,,,D.S[10*2] storage x,) = g();
|
|
x;
|
|
}
|
|
function g() internal pure returns (uint, uint, uint, D.S[20] storage x, uint) { x = x; }
|
|
}
|
|
// ----
|