mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Output experimental flag in metadata only for risky features
This commit is contained in:
@@ -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) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user