diff options
author | Leonardo Alt <leo@ethereum.org> | 2018-08-21 22:09:53 +0800 |
---|---|---|
committer | Leonardo Alt <leo@ethereum.org> | 2018-09-07 00:42:21 +0800 |
commit | 9927964d218ac234e50c1818be655d92b3b2887b (patch) | |
tree | a20c19fa0881cc9baee22cc1f5580e8d16c8019e /test/buglist_test_vectors.md | |
parent | c57a60833d96f9f6a568c3b85b9b6edecee8fe4a (diff) | |
download | dexon-solidity-9927964d218ac234e50c1818be655d92b3b2887b.tar.gz dexon-solidity-9927964d218ac234e50c1818be655d92b3b2887b.tar.zst dexon-solidity-9927964d218ac234e50c1818be655d92b3b2887b.zip |
Buglist check script supports json paths
Diffstat (limited to 'test/buglist_test_vectors.md')
-rw-r--r-- | test/buglist_test_vectors.md | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/test/buglist_test_vectors.md b/test/buglist_test_vectors.md index ce95403b..f15cf151 100644 --- a/test/buglist_test_vectors.md +++ b/test/buglist_test_vectors.md @@ -67,3 +67,48 @@ function f() m(uint[2][2]) { } -- function f() returns (uint, uint) { uint[2][2] memory x; } + +# EventStructWrongData + +## buggy + +pragma experimental ABIEncoderV2; +contract C +{ + struct S { uint x; } + event E(S); + event F(S); + enum A { B, C } + event G(A); + function f(S s); +} + +-- + +pragma experimental ABIEncoderV2; +contract C +{ + struct S { uint x; } + event E(S indexed); + event F(uint, S, bool); +} + +## fine + +pragma experimental ABIEncoderV2; +contract C +{ + struct S { uint x; } + enum A { B, C } + event G(A); +} + +-- + +pragma experimental ABIEncoderV2; +contract C +{ + struct S { uint x; } + function f(S s); + S s1; +} |