solidity/test/libsolidity/syntaxTests/fallback/default_visibility.sol
2018-07-03 22:51:55 +02:00

7 lines
187 B
Solidity

contract C {
// Check that visibility is also enforced for the fallback function.
function() {}
}
// ----
// TypeError: (90-103): Fallback function must be defined as "external".