solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/409_invalid_address_length_long.sol
2018-06-25 16:17:50 +02:00

9 lines
244 B
Solidity

contract C {
function f() pure public {
address x = 0xFA0bFc97E48458494Ccd857e1A85DC91F7F0046E0;
x;
}
}
// ----
// SyntaxError: (64-107): This looks like an address but is not exactly 40 hex digits. It is 41 hex digits.