aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SMTChecker.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-24 20:34:17 +0800
committerGitHub <noreply@github.com>2018-10-24 20:34:17 +0800
commit01566c2e1af5b7f655fd593e5e1019e103d739a0 (patch)
treeaaa2f597e4d4cb2a48e3bd5197c9222646953979 /test/libsolidity/SMTChecker.cpp
parent8d01db7c2d74cbf245b995e6d13e563aff5cef65 (diff)
parente2cf5f6ed94c571c7478b9a313f8e4fceee2aec3 (diff)
downloaddexon-solidity-01566c2e1af5b7f655fd593e5e1019e103d739a0.tar.gz
dexon-solidity-01566c2e1af5b7f655fd593e5e1019e103d739a0.tar.zst
dexon-solidity-01566c2e1af5b7f655fd593e5e1019e103d739a0.zip
Merge pull request #5272 from ethereum/smt_special_vars
[SMTChecker] Support msg.*, tx.*, block.*, gasleft and blockhash
Diffstat (limited to 'test/libsolidity/SMTChecker.cpp')
-rw-r--r--test/libsolidity/SMTChecker.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/libsolidity/SMTChecker.cpp b/test/libsolidity/SMTChecker.cpp
index c7e60256..195004cb 100644
--- a/test/libsolidity/SMTChecker.cpp
+++ b/test/libsolidity/SMTChecker.cpp
@@ -133,23 +133,6 @@ BOOST_AUTO_TEST_CASE(assignment_in_declaration)
CHECK_SUCCESS_NO_WARNINGS(text);
}
-BOOST_AUTO_TEST_CASE(function_call_does_not_clear_local_vars)
-{
- string text = R"(
- contract C {
- function g() public pure {}
- function f() public view {
- uint a = 3;
- this.g();
- assert(a == 3);
- g();
- assert(a == 3);
- }
- }
- )";
- CHECK_WARNING(text, "Assertion checker does not yet implement this type of function call");
-}
-
BOOST_AUTO_TEST_CASE(branches_merge_variables)
{
// Branch does not touch variable a