solidity/test/libsolidity/syntaxTests/parsing/literal_constants_with_ether_subdenominations.sol
2020-07-13 18:07:10 +02:00

13 lines
167 B
Solidity

contract C {
function f() public
{
a = 1 wei;
b = 2 ether;
c = 3 gwei;
}
uint256 a;
uint256 b;
uint256 c;
}
// ----