diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-11 00:09:44 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-11 23:38:02 +0800 |
commit | 644c91fc2dedf399b2731b37a0795a18b6cee04e (patch) | |
tree | 35a9a7fcef15e548c66e43706c86d45c8af898a7 /libsolidity/ast/ExperimentalFeatures.h | |
parent | a7a9ed4718654c38622b4254538c925d68a245c3 (diff) | |
download | dexon-solidity-644c91fc2dedf399b2731b37a0795a18b6cee04e.tar.gz dexon-solidity-644c91fc2dedf399b2731b37a0795a18b6cee04e.tar.zst dexon-solidity-644c91fc2dedf399b2731b37a0795a18b6cee04e.zip |
Add __test experimental mode for testing
Diffstat (limited to 'libsolidity/ast/ExperimentalFeatures.h')
-rw-r--r-- | libsolidity/ast/ExperimentalFeatures.h | 8 |
1 files changed, 6 insertions, 2 deletions
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<std::string, ExperimentalFeature> ExperimentalFeatureNames = {}; +static const std::map<std::string, ExperimentalFeature> ExperimentalFeatureNames = { + { "__test", ExperimentalFeature::Test }, +}; } } |