aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityParser.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-01-26 00:24:43 +0800
committerchriseth <c@ethdev.com>2017-01-26 00:24:43 +0800
commit27ba665694c4a961e098559cb36176aeafd5ec44 (patch)
tree7828322e631072a216915f4dd938ed53c2cac279 /test/libsolidity/SolidityParser.cpp
parent8e318181e9719fda44899a402038013b757a4a60 (diff)
downloaddexon-solidity-27ba665694c4a961e098559cb36176aeafd5ec44.tar.gz
dexon-solidity-27ba665694c4a961e098559cb36176aeafd5ec44.tar.zst
dexon-solidity-27ba665694c4a961e098559cb36176aeafd5ec44.zip
Moved test.
Diffstat (limited to 'test/libsolidity/SolidityParser.cpp')
-rw-r--r--test/libsolidity/SolidityParser.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/libsolidity/SolidityParser.cpp b/test/libsolidity/SolidityParser.cpp
index 22766358..e5362e78 100644
--- a/test/libsolidity/SolidityParser.cpp
+++ b/test/libsolidity/SolidityParser.cpp
@@ -1479,20 +1479,6 @@ BOOST_AUTO_TEST_CASE(function_type_state_variable)
BOOST_CHECK(successParse(text));
}
-BOOST_AUTO_TEST_CASE(inline_assembly_shadowed_instruction)
-{
- char const* text = R"(
- contract A {
- function f() {
- assembly {
- let gas := 1
- }
- }
- }
- )";
- CHECK_PARSE_ERROR(text, "Cannot shadow instructions with variable declaration.");
-}
-
BOOST_AUTO_TEST_SUITE_END()
}