Allow enum values for constants.

This commit is contained in:
chriseth
2017-03-13 13:30:23 +01:00
parent 49cfacced2
commit 14948e514d
2 changed files with 4 additions and 2 deletions
@@ -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;