aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests
diff options
context:
space:
mode:
authorChristian Parpart <christian@parpart.family>2018-10-01 20:36:57 +0800
committerChristian Parpart <christian@ethereum.org>2018-10-02 21:37:15 +0800
commit9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa (patch)
tree8e8787835a7a683e45cde3a975a95a330439c7ac /test/libsolidity/syntaxTests
parent7609710d4f8e169784c7a8418da702ac236f5e23 (diff)
downloaddexon-solidity-9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa.tar.gz
dexon-solidity-9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa.tar.zst
dexon-solidity-9fb835b710f7f0dc9f2089df6301f0ce55d1e4aa.zip
Fixes #5051 (introduced in #4684), effectively allowing underscores in address literals.
Diffstat (limited to 'test/libsolidity/syntaxTests')
-rw-r--r--test/libsolidity/syntaxTests/types/address/literal_to_address.sol1
1 files changed, 1 insertions, 0 deletions
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;
}
}