2018-05-30 16:41:34 +00:00
|
|
|
contract C {
|
|
|
|
uint x;
|
2018-06-28 16:08:45 +00:00
|
|
|
function() external { x = 2; }
|
|
|
|
function() external { x = 3; }
|
2018-05-30 16:41:34 +00:00
|
|
|
}
|
|
|
|
// ----
|
2018-06-28 16:08:45 +00:00
|
|
|
// DeclarationError: (64-94): Only one fallback function is allowed.
|