solidity/test/libsolidity/syntaxTests/parsing/visibility_specifiers.sol

12 lines
264 B
Solidity
Raw Normal View History

2018-05-17 07:04:39 +00:00
contract c {
uint private a;
uint internal b;
uint public c;
uint d;
function f() public {}
2018-05-17 07:04:39 +00:00
function f_priv() private {}
function f_internal() internal {}
}
// ----
// Warning: (58-71): This declaration shadows an existing declaration.