aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-09-11 21:48:43 +0800
committerchriseth <c@ethdev.com>2015-09-11 21:48:43 +0800
commit3c25420b8476f1516ac8cb10f5c1552609a08675 (patch)
tree219f2ffe54f3cf11e172a04c8ca499babc2dea58 /test
parentc5b6d9d2a9fb379e35435726046ce6c551d25c17 (diff)
parent1d1386a58cdeada9497a3940ab9a7d5c68f21af8 (diff)
downloaddexon-solidity-3c25420b8476f1516ac8cb10f5c1552609a08675.tar
dexon-solidity-3c25420b8476f1516ac8cb10f5c1552609a08675.tar.gz
dexon-solidity-3c25420b8476f1516ac8cb10f5c1552609a08675.tar.bz2
dexon-solidity-3c25420b8476f1516ac8cb10f5c1552609a08675.tar.lz
dexon-solidity-3c25420b8476f1516ac8cb10f5c1552609a08675.tar.xz
dexon-solidity-3c25420b8476f1516ac8cb10f5c1552609a08675.tar.zst
dexon-solidity-3c25420b8476f1516ac8cb10f5c1552609a08675.zip
Merge pull request #69 from LianaHus/sol_enum_too_many_indexed_args
too many indexed arguments for event
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp
index 883d7807..ff91d8e5 100644
--- a/test/libsolidity/SolidityNameAndTypeResolution.cpp
+++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp
@@ -1050,7 +1050,6 @@ BOOST_AUTO_TEST_CASE(event_too_many_indexed)
char const* text = R"(
contract c {
event e(uint indexed a, bytes3 indexed b, bool indexed c, uint indexed d);
- function f() { e(2, "abc", true); }
})";
BOOST_CHECK_THROW(parseTextAndResolveNames(text), TypeError);
}