diff options
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r-- | test/libsolidity/SolidityParser.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp index 0e69bfa8..569530b9 100644 --- a/test/libsolidity/SolidityParser.cpp +++ b/test/libsolidity/SolidityParser.cpp @@ -952,18 +952,6 @@ BOOST_AUTO_TEST_CASE(multi_variable_declaration) BOOST_CHECK_NO_THROW(parseText(text)); } -BOOST_AUTO_TEST_CASE(multi_variable_declaration_invalid) -{ - char const* text = R"( - library Lib { - function f() { - var () = g(); - } - } - )"; - BOOST_CHECK_THROW(parseText(text), ParserError); -} - BOOST_AUTO_TEST_SUITE_END() } |