aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityABIJSON.cpp
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-08-02 01:01:50 +0800
committerchriseth <chris@ethereum.org>2018-09-06 23:11:53 +0800
commitc577e043a4d54ac740aab770a6af38d74a7a427d (patch)
tree8f404988ab85b5a9c451d82f153e38609c38a343 /test/libsolidity/SolidityABIJSON.cpp
parent507cdf6de20b5c9bc9a0a8de311e9018af552865 (diff)
downloaddexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar
dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar.gz
dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar.bz2
dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar.lz
dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar.xz
dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.tar.zst
dexon-solidity-c577e043a4d54ac740aab770a6af38d74a7a427d.zip
Disallow structs in events without ABIEncoderV2
Diffstat (limited to 'test/libsolidity/SolidityABIJSON.cpp')
-rw-r--r--test/libsolidity/SolidityABIJSON.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/SolidityABIJSON.cpp b/test/libsolidity/SolidityABIJSON.cpp
index 107abc26..3475b018 100644
--- a/test/libsolidity/SolidityABIJSON.cpp
+++ b/test/libsolidity/SolidityABIJSON.cpp
@@ -1036,6 +1036,7 @@ BOOST_AUTO_TEST_CASE(return_structs_with_contracts)
BOOST_AUTO_TEST_CASE(event_structs)
{
char const* text = R"(
+ pragma experimental ABIEncoderV2;
contract C {
struct S { uint a; T[] sub; bytes b; }
struct T { uint[2] x; }