mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
146 B
Solidity
9 lines
146 B
Solidity
contract c {
|
|
uint[] a;
|
|
function f() public returns (uint, uint) {
|
|
a = [1,2,3];
|
|
return (a[3], [2,3,4][0]);
|
|
}
|
|
}
|
|
// ----
|