aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/literal_constants_with_ether_subdenominations.sol
blob: 64116b8825e6a94c5acbaac393504a1f60c08dc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
contract c {
    function f() public
    {
         a = 1 wei;
         b = 2 szabo;
         c = 3 finney;
         b = 4 ether;
    }
    uint256 a;
    uint256 b;
    uint256 c;
    uint256 d;
}
// ----
// Warning: (170-179): This declaration shadows an existing declaration.