contract C { uint constant a = 3 years; } // ---- // TypeError 4820: (32-39='3 years'): Using "years" as a unit denomination is deprecated.