solidity/test/libsolidity/semanticTests/types/type_conversion_cleanup.sol

8 lines
272 B
Solidity
Raw Normal View History

2019-07-10 15:23:19 +00:00
contract Test {
function test() public returns (uint ret) { return uint(address(Test(address(0x11223344556677889900112233445566778899001122)))); }
}
// ====
// compileViaYul: also
// ----
// test() -> 0x0000000000000000000000003344556677889900112233445566778899001122