diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2016-11-09 21:08:51 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2016-11-12 00:48:03 +0800 |
commit | eee629652e3ee851419805ad1cb54d168fa77763 (patch) | |
tree | 6c0343fc961c133d16491871577f3f6c43c0c24b /test/libsolidity/SolidityParser.cpp | |
parent | 457daecba1f7e267cf7578b702945bb6532aa2af (diff) | |
download | dexon-solidity-eee629652e3ee851419805ad1cb54d168fa77763.tar.gz dexon-solidity-eee629652e3ee851419805ad1cb54d168fa77763.tar.zst dexon-solidity-eee629652e3ee851419805ad1cb54d168fa77763.zip |
parsing: ban empty enum definition.
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r-- | test/libsolidity/SolidityParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp index a81a9828..ec23d5fd 100644 --- a/test/libsolidity/SolidityParser.cpp +++ b/test/libsolidity/SolidityParser.cpp @@ -824,7 +824,7 @@ BOOST_AUTO_TEST_CASE(empty_enum_declaration) contract c { enum foo { } })"; - BOOST_CHECK(successParse(text)); + BOOST_CHECK(!successParse(text)); } BOOST_AUTO_TEST_CASE(malformed_enum_declaration) |