solidity/test/libsolidity/syntaxTests/fallback/arguments.sol

6 lines
127 B
Solidity
Raw Normal View History

contract C {
fallback(uint256) external {}
}
// ----
// TypeError 3978: (25-34): Fallback function cannot take parameters.