From deebc7e8601185006b74a5ee78b83c50bdf37abc Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 9 Oct 2015 20:44:56 +0200 Subject: Multi-variable declarations. --- test/libsolidity/SolidityParser.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'test/libsolidity/SolidityParser.cpp') 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() } -- cgit