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

7 lines
185 B
Solidity

contract C {
// Check that visibility is also enforced for the fallback function.
function() {}
}
// ----
// Warning: (90-103): No visibility specified. Defaulting to "public".