diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-12-11 10:39:39 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-12-11 10:42:09 +0800 |
commit | b32d7a84fc8c69b96cb3f03091327d3e4657e495 (patch) | |
tree | 97f038ce58228eb61b4ccb4d397581c1a3685202 /test/libsolidity/SMTChecker.cpp | |
parent | 9e36c189e50b033d25d3ab2342a7a0e673035a68 (diff) | |
download | dexon-solidity-b32d7a84fc8c69b96cb3f03091327d3e4657e495.tar.gz dexon-solidity-b32d7a84fc8c69b96cb3f03091327d3e4657e495.tar.zst dexon-solidity-b32d7a84fc8c69b96cb3f03091327d3e4657e495.zip |
Move some struct tests to require ABIEncoderV2
Diffstat (limited to 'test/libsolidity/SMTChecker.cpp')
-rw-r--r-- | test/libsolidity/SMTChecker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/SMTChecker.cpp b/test/libsolidity/SMTChecker.cpp index 38d02601..3a65aa43 100644 --- a/test/libsolidity/SMTChecker.cpp +++ b/test/libsolidity/SMTChecker.cpp @@ -94,6 +94,7 @@ BOOST_AUTO_TEST_CASE(warn_on_typecast) BOOST_AUTO_TEST_CASE(warn_on_struct) { string text = R"( + pragma experimental ABIEncoderV2; contract C { struct A { uint a; uint b; } function f() public pure returns (A) { |