2018-05-17 07:04:39 +00:00
|
|
|
contract c {
|
|
|
|
uint private a;
|
|
|
|
uint internal b;
|
|
|
|
uint public c;
|
|
|
|
uint d;
|
2018-06-29 12:55:44 +00:00
|
|
|
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.
|
2018-06-29 12:55:44 +00:00
|
|
|
// Warning: (89-111): Function state mutability can be restricted to pure
|
|
|
|
// Warning: (116-144): Function state mutability can be restricted to pure
|
|
|
|
// Warning: (149-182): Function state mutability can be restricted to pure
|