solidity/test/libsolidity/semanticTests
hrkrshnn 41ce3feb0a test: some tests for push0
1. `push0_disallowed.yul`: checks if `push0()` is a valid builtin in strict Yul
2. `push0_disallowed.sol`: checks if `push0()` is a valid builtin in inline assembly
3. `push0.sol`: simple semantic test that returns 0
4. `evmone_support.sol`: tests if push0 works properly in evmone
5. Updated some bytecode too large tests to use `shanghai` as version
6. Updated various tests where `push1 0` was hardcoded in different forms / expectations on bytecode
size (`Assembler.cpp`, `GasCosts.cpp`, `SolidityCompiler.cpp`, `SolidityExpressionCompiler.cpp`)
2023-04-12 00:10:24 +02:00
..
abiencodedecode Fix wrong cleanup when copying from calldata to memory 2022-08-08 13:07:16 +02:00
abiEncoderV1 Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
abiEncoderV2 Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
accessor Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
arithmetics Remove empty settings. 2022-05-19 20:23:28 +02:00
array Update gas costs. 2023-02-09 10:47:12 +01:00
asmForLoop Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
builtinFunctions test: Move hashing algorithm tests to semanticTests 2022-10-21 15:59:47 +02:00
calldata Consistent terminology for attached/bound functions (file rename) 2022-12-07 19:31:44 +01:00
cleanup Remove empty settings. 2022-05-19 20:23:28 +02:00
constantEvaluator Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
constants Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
constructor Fix wrong cleanup when copying from calldata to memory 2022-08-08 13:07:16 +02:00
conversions Remove empty settings. 2022-05-19 20:23:28 +02:00
deployedCodeExclusion Do not duplicate subassemblies. 2023-02-20 22:20:45 +01:00
ecrecover Remove empty settings. 2022-05-19 20:23:28 +02:00
enums Remove empty settings. 2022-05-19 20:23:28 +02:00
errors Fix wrong cleanup when copying from calldata to memory 2022-08-08 13:07:16 +02:00
events added optimization. shl comes out from being distributed over and 2022-11-11 01:16:14 +05:30
exponentiation Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
expressions Remove empty settings. 2022-05-19 20:23:28 +02:00
externalContracts Re-implement unused assign / unused store eliminator. 2023-03-20 13:49:37 +01:00
externalSource Remove empty settings. 2022-05-19 20:23:28 +02:00
fallback Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
freeFunctions Remove empty settings. 2022-05-19 20:23:28 +02:00
functionCall Do not duplicate subassemblies. 2023-02-20 22:20:45 +01:00
functionSelector Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
functionTypes Merge pull request #13569 from ethereum/document-call-to-zero-init-function-type 2022-11-01 15:42:12 +01:00
getters feat: allow named parameters in mapping types 2022-12-08 11:56:58 +01:00
immutable Checks for overflow/underflow after add/sub operations. 2022-06-23 14:41:12 -03:00
inheritance Update test expectations. 2022-05-23 13:37:50 +02:00
inlineAssembly Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
integer Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
interfaceID Remove empty settings. 2022-05-19 20:23:28 +02:00
isoltestTesting Update tests and include new for create/create2 calculation 2022-09-27 22:31:46 +02:00
libraries Do not duplicate subassemblies. 2023-02-20 22:20:45 +01:00
literals Remove empty settings. 2022-05-19 20:23:28 +02:00
memoryManagement Remove empty settings. 2022-05-19 20:23:28 +02:00
metaTypes Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
modifiers Remove empty settings. 2022-05-19 20:23:28 +02:00
multiSource Remove empty settings. 2022-05-19 20:23:28 +02:00
operators User-defined operators: Tests 2023-02-22 00:40:03 +01:00
optimizer Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
payable Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
receive Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
reverts Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
revertStrings Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
salted_create Update tests and include new for create/create2 calculation 2022-09-27 22:31:46 +02:00
shanghai test: some tests for push0 2023-04-12 00:10:24 +02:00
smoke Update test expectations. 2022-05-23 13:37:50 +02:00
specialFunctions Remove empty settings. 2022-05-19 20:23:28 +02:00
state Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
statements Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
storage test: Properly clear storage dirty flag 2022-11-08 18:13:17 +01:00
strings Merge pull request #13001 from matheusaaguiar/develop 2022-05-23 10:56:30 +02:00
structs docs: fix typos 2022-12-25 22:39:50 +01:00
tryCatch Update tests and include new for create/create2 calculation 2022-09-27 22:31:46 +02:00
types Add test for copying reference types between data locations 2022-09-07 10:45:53 +02:00
underscore Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
uninitializedFunctionPointer Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
userDefinedValueType Gas updates. 2023-02-15 21:33:06 +01:00
using Allow library external functions to be bound with using for 2023-02-02 13:39:19 -03:00
variables Remove empty settings. 2022-05-19 20:23:28 +02:00
various added optimization. shl comes out from being distributed over and 2022-11-11 01:16:14 +05:30
viaYul Move some tests from viaYul to appropriate groups 2022-11-10 22:21:15 +01:00
virtualFunctions Remove empty settings. 2022-05-19 20:23:28 +02:00
byte_array_to_storage_cleanup.sol Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
c99_scoping_activation.sol Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
constructor_inheritance_init_order_2.sol Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
constructor_inheritance_init_order_3_legacy.sol Move stray semantics test to proper directory. 2022-02-10 13:43:49 +01:00
constructor_inheritance_init_order_3_viaIR.sol Move stray semantics test to proper directory. 2022-02-10 13:43:49 +01:00
constructor_inheritance_init_order.sol Fill in junk in stack layouts on terminating control flow paths. 2022-03-15 18:36:55 +01:00
constructor_with_params_diamond_inheritance.sol Checks for overflow/underflow after add/sub operations. 2022-06-23 14:41:12 -03:00
constructor_with_params_inheritance_2.sol Remove empty settings. 2022-05-19 20:23:28 +02:00
constructor_with_params_inheritance.sol Checks for overflow/underflow after add/sub operations. 2022-06-23 14:41:12 -03:00
constructor_with_params.sol Update test expectations. 2022-05-23 13:37:50 +02:00
dirty_calldata_bytes.sol Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
dirty_calldata_dynamic_array.sol Remove empty settings. 2022-05-19 20:23:28 +02:00
emit_three_identical_events.sol fix emit statments being printed on the same line 2022-10-25 19:22:07 +02:00
emit_two_identical_events.sol fix emit statments being printed on the same line 2022-10-25 19:22:07 +02:00
empty_contract.sol Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
empty_for_loop.sol Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
interface_inheritance_conversions.sol Remove empty settings. 2022-05-19 20:23:28 +02:00
isoltestFormatting.sol Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
state_var_initialization.sol Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
state_variables_init_order_2.sol Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
state_variables_init_order_3.sol Update tests. 2020-07-07 12:16:18 +02:00
state_variables_init_order.sol Remove // compileViaYul: also 2022-05-19 20:23:28 +02:00
unused_store_storage_removal_bug.sol Bugfix and tests. 2022-09-08 11:54:14 +02:00