solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/137_external_visibility.sol

7 lines
185 B
Solidity
Raw Normal View History

contract c {
function f() external {}
function g() public { f(); }
}
// ----
2018-06-15 10:30:28 +00:00
// DeclarationError: (68-69): Undeclared identifier. "f" is not (or not yet) visible at this point.