diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-11 00:16:55 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-11 23:38:43 +0800 |
commit | 2d1bab0de8d6e2637b3827fd3c988ae538b1d9ef (patch) | |
tree | 73603b9de726057dac89486b6e72cf66e89c72e1 /test | |
parent | 4d82d4f57acf11745bb2e1610c5777128f68bee4 (diff) | |
download | dexon-solidity-2d1bab0de8d6e2637b3827fd3c988ae538b1d9ef.tar.gz dexon-solidity-2d1bab0de8d6e2637b3827fd3c988ae538b1d9ef.tar.zst dexon-solidity-2d1bab0de8d6e2637b3827fd3c988ae538b1d9ef.zip |
Output experimental flag in metadata only for risky features
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/Metadata.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/libsolidity/Metadata.cpp b/test/libsolidity/Metadata.cpp index 77679a32..c46e3160 100644 --- a/test/libsolidity/Metadata.cpp +++ b/test/libsolidity/Metadata.cpp @@ -38,6 +38,7 @@ BOOST_AUTO_TEST_CASE(metadata_stamp) // Check that the metadata stamp is at the end of the runtime bytecode. char const* sourceCode = R"( pragma solidity >=0.0; + pragma experimental __testOnlyAnalysis; contract test { function g(function(uint) external returns (uint) x) {} } |