aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/fallback/default_visibility.sol
blob: 31123d5918559e9a955886344622adc3d5fa9644 (plain) (blame)
1
2
3
4
5
6
contract C {
    // Check that visibility is also enforced for the fallback function.
    function() {}
}
// ----
// TypeError: (90-103): Fallback function must be defined as "external".