aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/denominations/denominations.sol
blob: de9f73e10b93345aa3b598cab356e9a97c17ec77 (plain) (blame)
1
2
3
4
5
contract C {
    uint constant a = 1 wei + 2 szabo + 3 finney + 4 ether;
    uint constant b = 1 seconds + 2 minutes + 3 hours + 4 days + 5 weeks + 6 years;
    uint constant c = 2 szabo / 1 seconds + 3 finney * 3 hours;
}