aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/denominations/deprecated_year.sol
blob: 30e86535a244b321b89f8d400170eabb8f3d61bb (plain) (blame)
1
2
3
4
5
contract C {
    uint constant a = 3 years;
}
// ----
// Warning: (32-39): Using "years" as a unit denomination is deprecated.