mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
237 B
Solidity
12 lines
237 B
Solidity
|
pragma solidity ^0.4.3;
|
||
|
contract C {
|
||
|
function f() public pure {}
|
||
|
function a() public {
|
||
|
uint x;
|
||
|
uint y;
|
||
|
(x, y) = (f(), f());
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (145-148): Type of tuple component cannot be null.
|