From 9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Mon, 1 Oct 2018 14:36:57 +0200 Subject: Fixes #5051 (introduced in #4684), effectively allowing underscores in address literals. --- test/libsolidity/syntaxTests/types/address/literal_to_address.sol | 1 + 1 file changed, 1 insertion(+) (limited to 'test/libsolidity/syntaxTests') diff --git a/test/libsolidity/syntaxTests/types/address/literal_to_address.sol b/test/libsolidity/syntaxTests/types/address/literal_to_address.sol index 9d599ea5..20ee56de 100644 --- a/test/libsolidity/syntaxTests/types/address/literal_to_address.sol +++ b/test/libsolidity/syntaxTests/types/address/literal_to_address.sol @@ -4,5 +4,6 @@ contract C { a = address(1); address b = 0x0123456789012345678901234567890123456789; b = 0x9876543210987654321098765432109876543210; + b = 0x9876_5432_1098_7654_3210_9876_5432_1098_7654_3210; } } -- cgit