solidity/test/libsolidity/syntaxTests/denominations/deprecated_year.sol
2018-04-23 16:19:51 +01:00

6 lines
124 B
Solidity

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