mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
275 B
Solidity
6 lines
275 B
Solidity
contract C {
|
|
function() external payable {}
|
|
}
|
|
// ----
|
|
// ParserError: (45-46): Expected a state variable declaration. If you intended this as a fallback function or a function to handle plain ether transactions, use the "fallback" keyword or the "ether" keyword instead.
|