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