aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/types/address/literal_to_address.sol
blob: 9d599ea5f8708f38359c7a44f90ee477e5e54af4 (plain) (tree)
1
2
3
4
5
6
7
8







                                                               
contract C {
    function f() public pure {
        address a = address(0);
        a = address(1);
        address b = 0x0123456789012345678901234567890123456789;
        b = 0x9876543210987654321098765432109876543210;
    }
}