solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/527_fallback_marked_internal.sol
2018-07-03 22:51:55 +02:00

6 lines
124 B
Solidity

contract C {
function () internal { }
}
// ----
// TypeError: (17-41): Fallback function must be defined as "external".