From 644c91fc2dedf399b2731b37a0795a18b6cee04e Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 10 Aug 2017 17:09:44 +0100 Subject: Add __test experimental mode for testing --- libsolidity/ast/ExperimentalFeatures.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libsolidity') diff --git a/libsolidity/ast/ExperimentalFeatures.h b/libsolidity/ast/ExperimentalFeatures.h index b0a07142..2338b881 100644 --- a/libsolidity/ast/ExperimentalFeatures.h +++ b/libsolidity/ast/ExperimentalFeatures.h @@ -27,9 +27,13 @@ namespace dev namespace solidity { -enum class ExperimentalFeature {}; +enum class ExperimentalFeature { + Test +}; -static const std::map ExperimentalFeatureNames = {}; +static const std::map ExperimentalFeatureNames = { + { "__test", ExperimentalFeature::Test }, +}; } } -- cgit