solidity/test/libsolidity/syntaxTests/fallback/arguments.sol
2020-11-23 14:22:37 +01:00

6 lines
203 B
Solidity

contract C {
fallback(uint256) external {}
}
// ----
// TypeError 5570: (44-44): Fallback function either has to have the signature "fallback()" or "fallback(bytes calldata) returns (bytes memory)".