aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-03-02 02:49:15 +0800
committerchriseth <c@ethdev.com>2017-03-13 20:30:23 +0800
commit14948e514d7b15eb92d2c08f018bb23ead71fa5a (patch)
treeb1a1e3c3f3d65b1254ccfd5d073f393fab84c7c9 /test
parent49cfacced291ea73d99ec1353a0c77bfe476729a (diff)
downloaddexon-solidity-14948e514d7b15eb92d2c08f018bb23ead71fa5a.tar.gz
dexon-solidity-14948e514d7b15eb92d2c08f018bb23ead71fa5a.tar.zst
dexon-solidity-14948e514d7b15eb92d2c08f018bb23ead71fa5a.zip
Allow enum values for constants.
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/SolidityEndToEndTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp
index f14108ca..552352e4 100644
--- a/test/libsolidity/SolidityEndToEndTest.cpp
+++ b/test/libsolidity/SolidityEndToEndTest.cpp
@@ -4542,7 +4542,6 @@ BOOST_AUTO_TEST_CASE(simple_constant_variables_test)
BOOST_AUTO_TEST_CASE(constant_variables)
{
- //for now constant specifier is valid only for uint, bytesXX, string and enums
char const* sourceCode = R"(
contract Foo {
uint constant x = 56;