aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/denominations/combining_hex_and_denomination.sol
blob: 3571e8a951503c960b2e988ee061f3a96f0a536b (plain) (blame)
1
2
3
4
5
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.