aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/denominations/deprecated_year_050.sol
blob: 4baaeaa34cd11c97e9297296814392deb646efea (plain) (blame)
1
2
3
4
5
6
pragma experimental "v0.5.0";
contract C {
    uint constant a = 3 years;
}
// ----
// TypeError: (62-69): Using "years" as a unit denomination is deprecated.