solidity/test/libsolidity/syntaxTests/inlineAssembly
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
..
invalid Add `.address and .selector` in inside assembly for external function pointers 2021-10-04 18:05:57 +02:00
shadowing Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
assembly_dialect_duplicate_option.sol Tests. 2022-03-02 17:07:11 +01:00
assembly_dialect_invalid_options.sol Tests. 2022-03-02 17:07:11 +01:00
assembly_dialect_leading_space.sol Tests. 2022-03-02 17:07:11 +01:00
assembly_duplicate_option.sol Tests. 2022-03-02 17:07:11 +01:00
assembly_empty_option_list_dialect.sol Tests. 2022-03-02 17:07:11 +01:00
assembly_empty_option_list.sol Tests. 2022-03-02 17:07:11 +01:00
assembly_flags_delimiter.sol Tests. 2022-03-02 17:07:11 +01:00
assembly_invalid_options.sol Tests. 2022-03-02 17:07:11 +01:00
assignment_from_contract.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
assignment_from_functiontype2.sol Update tests. 2020-07-07 12:16:18 +02:00
assignment_from_functiontype3.sol Add more syntax tests for uncovered cases 2020-11-05 10:30:09 +00:00
assignment_from_functiontype.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
assignment_from_library.sol Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
assignment_from_opcode_like.sol update tests 2020-12-03 17:15:45 +01:00
assignment_from_super.sol Updating tests after improving Yul error reporting 2021-02-09 16:55:33 +01:00
assignment_location.sol Updating tests after improving Yul error reporting 2021-02-09 16:55:33 +01:00
assignment_to_function_pointer.sol Update test/libsolidity/syntaxTests/inlineAssembly/assignment_to_function_pointer.sol 2022-01-17 20:12:11 +01:00
assignment_to_opcode_like.sol update tests 2020-12-03 17:15:43 +01:00
assignment_to_special.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
basefee_reserved_london.sol Tests for basefee as identifier in inline assembly 2021-08-11 10:46:40 +02:00
circular_constant_access_err.sol Fix infinite loop when accessing circular constants from inline assembly. 2021-01-26 09:22:05 +01:00
circular_constant_access_module_err.sol Fix infinite loop when accessing circular constants from inline assembly. 2021-01-26 09:22:05 +01:00
circular_module_access_err.sol Fix infinite loop when accessing circular constants from inline assembly. 2021-01-26 09:22:05 +01:00
const_forward_reference.sol Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
const_from_non_const.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
const_from_this.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
constant_access_non_initialized.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
constant_access.sol Support constant numbers in inline assembly. 2019-07-02 14:01:05 +02:00
constant_array.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
constant_bytes_ref.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
constant_computation.sol Support constant numbers in inline assembly. 2019-07-02 14:01:05 +02:00
constant_ref.sol Support referencing other constants in inline assembly 2019-12-05 13:27:17 +03:00
create2_as_variable_post_istanbul.sol Only warn about variables being shadowed in inline assembly. 2021-02-19 14:29:22 +01:00
create2_as_variable_pre_istanbul.sol Only warn about variables being shadowed in inline assembly. 2021-02-19 14:29:22 +01:00
difficulty_builtin_pre_paris.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
difficulty_disallowed_function_pre_paris.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
difficulty_magic_block_warn_post_paris.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
difficulty_nobuiltin_post_paris.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
difficulty_reserved_post_paris.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
evm_byzantium_on_homestead.sol Revert "Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions" 2022-05-13 08:35:21 -03:00
evm_byzantium.sol Revert "Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions" 2022-05-13 08:35:21 -03:00
evm_constantinople_on_byzantium.sol Updating tests after improving Yul error reporting 2021-02-09 16:55:33 +01:00
evm_constantinople.sol Add more syntax tests for uncovered cases 2020-11-05 10:30:09 +00:00
evm_istanbul_on_petersburg.sol Updating tests after improving Yul error reporting 2021-02-09 16:55:33 +01:00
evm_istanbul.sol Mark chainid as view. 2020-12-09 16:55:51 +01:00
extcodehash_as_variable_post_constantinople.sol Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
extcodehash_as_variable_pre_constantinople.sol Only warn about variables being shadowed in inline assembly. 2021-02-19 14:29:22 +01:00
external_identifier_access_shadowing.sol Fixed inline assembly external identifier access. 2021-08-11 18:18:29 +02:00
function_call_invalid_argument_count.sol Updating tests after improving Yul error reporting 2021-02-09 16:55:33 +01:00
function_call_not_found.sol Updating tests after improving Yul error reporting 2021-02-09 16:55:33 +01:00
function_call_to_variable.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
function_definition_whitespace.sol Introduce RightArrow (->) token in the scanner 2020-08-27 12:28:27 +01:00
function_definition.sol Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
function_without_call.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
hex_assignment.sol Allow hex string literals in Yul. 2021-04-08 15:03:33 +02:00
hex_expression.sol Allow hex string literals in Yul. 2021-04-08 15:03:33 +02:00
hex_switch_case.sol Allow hex string literals in Yul. 2021-04-08 15:03:33 +02:00
immutables.sol Updating tests after improving Yul error reporting 2021-02-09 16:55:33 +01:00
in_modifier.sol Move inline assembly tests from nameAndTypeResolution to inlineAssembly 2019-02-20 11:00:02 +00:00
invalid_natspec.sol Tests. 2022-03-02 16:42:28 +01:00
leave_invalid.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
leave.sol Tests 2019-10-29 14:32:16 +01:00
linkersymbol_builtin.sol Updating tests after improving Yul error reporting 2021-02-09 16:55:33 +01:00
linkersymbol_function.sol Update tests 2020-12-10 17:18:15 +01:00
memory_safe_dialect_string_and_comment.sol Tests. 2022-03-02 17:07:11 +01:00
memory_safe_in_dialect_string.sol Tests. 2022-03-02 17:07:11 +01:00
natspec_memory_safe.sol Allow annotating inline assembly as memory-safe. 2022-03-02 16:42:28 +01:00
natspec_multi_swallowed.sol Tests. 2022-03-02 16:42:28 +01:00
natspec_multi.sol Tests. 2022-03-02 16:42:28 +01:00
no_unused_variable_warning.sol Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
overloaded_reference.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
period_in_identifer.sol Support period as part of identifiers for Yul and Inline Assembly. 2019-04-25 16:48:16 +02:00
prevrandao_allowed_function_pre_paris.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
prevrandao_builtin_post_paris.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
prevrandao_disallowed_function_post_paris.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
prevrandao_magic_block_warn_pre_paris.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
prevrandao_nobuitin_pre_paris.sol Adds support for the EVM version "Paris". 2023-01-23 18:50:36 +00:00
push0_disallowed.sol test: some tests for push0 2023-04-12 00:10:24 +02:00
reserved_identifiers_byzantium.sol Update tests 2020-12-10 17:18:15 +01:00
reserved_identifiers_constantinople.sol Update tests 2020-12-10 17:18:15 +01:00
reserved_identifiers.sol Update tests 2020-12-10 17:18:15 +01:00
returndatasize_as_variable_call_post_byzantium.sol.sol Revert "Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions" 2022-05-13 08:35:21 -03:00
returndatasize_as_variable_post_byzantium.sol Revert "Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions" 2022-05-13 08:35:21 -03:00
returndatasize_as_variable_pre_byzantium.sol Revert "Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions" 2022-05-13 08:35:21 -03:00
returndatasize_as_variable_read_post_byzantium.sol.sol Only warn about variables being shadowed in inline assembly. 2021-02-19 14:29:22 +01:00
solidity_keywords.sol Expose hex literal to the Yul parser 2020-08-28 19:34:52 +01:00
storage_reference_assignment_statevar.sol Use .slot and .offest to access storage items. 2020-07-13 14:59:22 +02:00
storage_reference_assignment.sol Use .slot and .offest to access storage items. 2020-07-13 14:59:22 +02:00
storage_reference_empty_offset.sol Use .slot and .offest to access storage items. 2020-07-13 14:59:22 +02:00
storage_reference_empty_slot.sol Use .slot and .offest to access storage items. 2020-07-13 14:59:22 +02:00
storage_reference_fine.sol Use .slot and .offest to access storage items. 2020-07-13 14:59:22 +02:00
storage_reference_old_shadow.sol Use .slot and .offest to access storage items. 2020-07-13 14:59:22 +02:00
storage_reference_old.sol Support .offset and .length for calldata bytes and string arrays. 2020-11-18 01:45:56 +01:00
storage_reference_on_function.sol Support .offset and .length for calldata bytes and string arrays. 2020-11-18 01:45:56 +01:00
storage_reference_on_memory.sol Support .offset and .length for calldata bytes and string arrays. 2020-11-18 01:45:56 +01:00
storage_reference.sol Support .offset and .length for calldata bytes and string arrays. 2020-11-18 01:45:56 +01:00
storage_slot_assign.sol Fix import path grammar and grammar testing details. 2021-04-12 14:54:36 +02:00
string_literal_switch_case.sol Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
two_stack_slot_access.sol Support .offset and .length for calldata bytes and string arrays. 2020-11-18 01:45:56 +01:00
two_stack_slots.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
use_msize_with_optimizer.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
use_msize_without_optimizer.sol Enable yul optimizer by default. 2019-12-02 19:30:14 +01:00
verbatim_disallowed.sol Add verbatim builtin. 2021-04-26 19:56:44 +02:00