aboutsummaryrefslogtreecommitdiffstats
path: root/solidityParser.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-11-22 02:14:56 +0800
committerChristian <c@ethdev.com>2014-11-24 04:28:45 +0800
commit6cb0d1baa0b690ece371d35cf4898a199d32c8fd (patch)
tree3b7442c83968aa7d391b0ff933bf903fb3013e88 /solidityParser.cpp
parentc5a012cdca3ca02bce3946945acbd610a928b7eb (diff)
downloaddexon-solidity-6cb0d1baa0b690ece371d35cf4898a199d32c8fd.tar.gz
dexon-solidity-6cb0d1baa0b690ece371d35cf4898a199d32c8fd.tar.zst
dexon-solidity-6cb0d1baa0b690ece371d35cf4898a199d32c8fd.zip
Magic variables.
Diffstat (limited to 'solidityParser.cpp')
-rw-r--r--solidityParser.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/solidityParser.cpp b/solidityParser.cpp
index 0ee88b26..9319a02c 100644
--- a/solidityParser.cpp
+++ b/solidityParser.cpp
@@ -221,26 +221,6 @@ BOOST_AUTO_TEST_CASE(statement_starting_with_type_conversion)
BOOST_CHECK_NO_THROW(parseText(text));
}
-BOOST_AUTO_TEST_CASE(blockchain_access)
-{
- char const* text = "contract test {\n"
- " function fun() {\n"
- " u256 x = address(0).balance;\n"
- " }\n"
- "}\n";
- BOOST_CHECK_NO_THROW(parseText(text));
-}
-
-BOOST_AUTO_TEST_CASE(blockchain_access_invalid)
-{
- char const* text = "contract test {\n"
- " function fun() {\n"
- " address(0).balance = 7;\n"
- " }\n"
- "}\n";
- BOOST_CHECK_THROW(parseText(text), TypeError);
-}
-
BOOST_AUTO_TEST_SUITE_END()
}