solidity/test/libsolidity/semanticTests/literals/wei.sol
2022-05-19 20:23:28 +02:00

10 lines
148 B
Solidity

contract C {
uint constant x = 1 wei;
function f() public view returns(uint) { return x; }
}
// ====
// compileToEwasm: also
// ----
// f() -> 1