mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Support variable declarations without assignment in UnusedPruner
This commit is contained in:
@@ -63,6 +63,14 @@ BOOST_AUTO_TEST_CASE(trivial)
|
||||
);
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(multi_declarations)
|
||||
{
|
||||
CHECK(
|
||||
"{ let x, y }",
|
||||
"{ }"
|
||||
);
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(functions)
|
||||
{
|
||||
CHECK(
|
||||
|
||||
Reference in New Issue
Block a user