solidity/test/libsolidity/syntaxTests/denominations/combining_hex_and_denomination.sol
2018-04-23 16:10:10 +01:00

6 lines
197 B
Solidity

contract C {
uint constant x = 0x01 wei;
}
// ----
// Warning: (32-40): Hexadecimal numbers with unit denominations are deprecated. You can use an expression of the form "0x1234 * 1 day" instead.