diff --git a/libyul/AsmAnalysis.cpp b/libyul/AsmAnalysis.cpp index 2c7a4b940..b8f0dd4e7 100644 --- a/libyul/AsmAnalysis.cpp +++ b/libyul/AsmAnalysis.cpp @@ -646,8 +646,6 @@ bool AsmAnalyzer::validateInstructions(evmasm::Instruction _instr, SourceLocatio "PC instruction is a low-level EVM feature. " "Because of that PC is disallowed in strict assembly." ); - else if (_instr == evmasm::Instruction::SELFBALANCE && !m_evmVersion.hasSelfBalance()) - errorForVM(3672_error, "only available for Istanbul-compatible"); else return false; diff --git a/test/libsolidity/syntaxTests/inlineAssembly/pc.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/pc_disallowed.sol similarity index 100% rename from test/libsolidity/syntaxTests/inlineAssembly/pc.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/pc_disallowed.sol