From 8e2f9296480dcb4f8e3ee4dfaf529d4494567749 Mon Sep 17 00:00:00 2001 From: wechman Date: Wed, 2 Mar 2022 07:49:56 +0100 Subject: [PATCH] Move basefee_berlin_function test to syntax tests. --- .../inlineAssembly/basefee_berlin_function.sol | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename test/libsolidity/{semanticTests => syntaxTests}/inlineAssembly/basefee_berlin_function.sol (63%) diff --git a/test/libsolidity/semanticTests/inlineAssembly/basefee_berlin_function.sol b/test/libsolidity/syntaxTests/inlineAssembly/basefee_berlin_function.sol similarity index 63% rename from test/libsolidity/semanticTests/inlineAssembly/basefee_berlin_function.sol rename to test/libsolidity/syntaxTests/inlineAssembly/basefee_berlin_function.sol index 81c1ee431..89ae0f445 100644 --- a/test/libsolidity/semanticTests/inlineAssembly/basefee_berlin_function.sol +++ b/test/libsolidity/syntaxTests/inlineAssembly/basefee_berlin_function.sol @@ -15,8 +15,7 @@ contract C { } } // ==== -// compileViaYul: also -// EVMVersion: <=berlin +// EVMVersion: =berlin // ---- -// f() -> 0 -// g() -> 1000 +// DeclarationError 5017: (98-105): The identifier "basefee" is reserved and can not be used. +// DeclarationError 5017: (242-307): The identifier "basefee" is reserved and can not be used.