2018-05-30 16:41:34 +00:00
|
|
|
contract C {
|
|
|
|
uint x;
|
2019-09-09 16:22:02 +00:00
|
|
|
fallback() external { x = 2; }
|
|
|
|
fallback() 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.
|