solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/407_invalid_address_no_checksum.sol

9 lines
447 B
Solidity

contract C {
function f() pure public {
address x = 0xfa0bfc97e48458494ccd857e1a85dc91f7f0046e;
x;
}
}
// ----
// Warning: (64-106): This looks like an address but has an invalid checksum. If this is not used as an address, please prepend '00'. Correct checksummed address: '0xfA0bFc97E48458494Ccd857e1A85DC91F7F0046E'. For more information please see https://solidity.readthedocs.io/en/develop/types.html#address-literals