mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
231 B
Solidity
12 lines
231 B
Solidity
pragma solidity ^0.4.3;
|
|
contract C {
|
|
function f() private pure {}
|
|
function a() public {
|
|
uint x;
|
|
uint y;
|
|
(x, y) = [f(), f()];
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (146-149): Array component cannot be empty.
|