From 687522a2f5389551a12aba1c36d22eaa1a1dfccd Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 20 Feb 2019 11:00:02 +0000 Subject: [PATCH] Move inline assembly tests from nameAndTypeResolution to inlineAssembly --- .../in_modifier.sol} | 0 .../invalid/bare_instructions_disallowed.sol} | 0 .../invalid/calldata_variables.sol} | 0 .../invalid/constant_access.sol} | 0 .../invalid/constant_assignment.sol} | 0 .../invalid/constant_variable_via_offset.sol} | 0 .../invalid/jump_disallowed.sol} | 0 .../invalid/label_disallowed.sol} | 0 .../invalid/leave_items_on_tack.sol} | 0 .../invalid/literals_on_stack_disallowed.sol} | 0 .../invalid/local_variable_access_out_of_functions.sol} | 0 .../local_variable_access_out_of_functions_storage_ptr.sol} | 0 .../invalid/storage_assignment.sol} | 0 .../invalid/storage_assignment_in_modifier.sol} | 0 .../invalid/storage_variable_access_out_of_functions.sol} | 0 .../invalid/unbalanced_negative_stack.sol} | 0 .../invalid/unbalanced_positive_stack.sol} | 0 .../invalid/unbalanced_two_stack_load.sol} | 0 .../no_unused_variable_warning.sol} | 0 .../two_stack_slots.sol} | 0 20 files changed, 0 insertions(+), 0 deletions(-) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/376_inline_assembly_in_modifier.sol => inlineAssembly/in_modifier.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/389_inline_assembly_bare_instructions.sol => inlineAssembly/invalid/bare_instructions_disallowed.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/385_inline_assembly_calldata_variables.sol => inlineAssembly/invalid/calldata_variables.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/380_inline_assembly_constant_access.sol => inlineAssembly/invalid/constant_access.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/379_inline_assembly_constant_assign.sol => inlineAssembly/invalid/constant_assignment.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/384_inline_assembly_constant_variable_via_offset.sol => inlineAssembly/invalid/constant_variable_via_offset.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/393_inline_assembly_jump.sol => inlineAssembly/invalid/jump_disallowed.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/391_inline_assembly_labels.sol => inlineAssembly/invalid/label_disallowed.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/395_inline_assembly_leave_items_on_stack.sol => inlineAssembly/invalid/leave_items_on_tack.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/387_inline_assembly_literals_on_stack.sol => inlineAssembly/invalid/literals_on_stack_disallowed.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/381_inline_assembly_local_variable_access_out_of_functions.sol => inlineAssembly/invalid/local_variable_access_out_of_functions.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/382_inline_assembly_local_variable_access_out_of_functions_storage_ptr.sol => inlineAssembly/invalid/local_variable_access_out_of_functions_storage_ptr.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/377_inline_assembly_storage.sol => inlineAssembly/invalid/storage_assignment.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/378_inline_assembly_storage_in_modifiers.sol => inlineAssembly/invalid/storage_assignment_in_modifier.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/383_inline_assembly_storage_variable_access_out_of_functions.sol => inlineAssembly/invalid/storage_variable_access_out_of_functions.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/374_inline_assembly_unbalanced_negative_stack.sol => inlineAssembly/invalid/unbalanced_negative_stack.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/373_inline_assembly_unbalanced_positive_stack.sol => inlineAssembly/invalid/unbalanced_positive_stack.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/375_inline_assembly_unbalanced_two_stack_load.sol => inlineAssembly/invalid/unbalanced_two_stack_load.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/449_no_unused_inline_asm.sol => inlineAssembly/no_unused_variable_warning.sol} (100%) rename test/libsolidity/syntaxTests/{nameAndTypeResolution/588_inline_assembly_two_stack_slots.sol => inlineAssembly/two_stack_slots.sol} (100%) diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/376_inline_assembly_in_modifier.sol b/test/libsolidity/syntaxTests/inlineAssembly/in_modifier.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/376_inline_assembly_in_modifier.sol rename to test/libsolidity/syntaxTests/inlineAssembly/in_modifier.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/389_inline_assembly_bare_instructions.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/bare_instructions_disallowed.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/389_inline_assembly_bare_instructions.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/bare_instructions_disallowed.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/385_inline_assembly_calldata_variables.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/calldata_variables.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/385_inline_assembly_calldata_variables.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/calldata_variables.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/380_inline_assembly_constant_access.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/constant_access.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/380_inline_assembly_constant_access.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/constant_access.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/379_inline_assembly_constant_assign.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/constant_assignment.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/379_inline_assembly_constant_assign.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/constant_assignment.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/384_inline_assembly_constant_variable_via_offset.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/constant_variable_via_offset.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/384_inline_assembly_constant_variable_via_offset.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/constant_variable_via_offset.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/393_inline_assembly_jump.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/jump_disallowed.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/393_inline_assembly_jump.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/jump_disallowed.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/391_inline_assembly_labels.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/label_disallowed.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/391_inline_assembly_labels.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/label_disallowed.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/395_inline_assembly_leave_items_on_stack.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/leave_items_on_tack.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/395_inline_assembly_leave_items_on_stack.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/leave_items_on_tack.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/387_inline_assembly_literals_on_stack.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/literals_on_stack_disallowed.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/387_inline_assembly_literals_on_stack.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/literals_on_stack_disallowed.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/381_inline_assembly_local_variable_access_out_of_functions.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/local_variable_access_out_of_functions.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/381_inline_assembly_local_variable_access_out_of_functions.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/local_variable_access_out_of_functions.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/382_inline_assembly_local_variable_access_out_of_functions_storage_ptr.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/local_variable_access_out_of_functions_storage_ptr.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/382_inline_assembly_local_variable_access_out_of_functions_storage_ptr.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/local_variable_access_out_of_functions_storage_ptr.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/377_inline_assembly_storage.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/storage_assignment.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/377_inline_assembly_storage.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/storage_assignment.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/378_inline_assembly_storage_in_modifiers.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/storage_assignment_in_modifier.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/378_inline_assembly_storage_in_modifiers.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/storage_assignment_in_modifier.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/383_inline_assembly_storage_variable_access_out_of_functions.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/storage_variable_access_out_of_functions.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/383_inline_assembly_storage_variable_access_out_of_functions.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/storage_variable_access_out_of_functions.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/374_inline_assembly_unbalanced_negative_stack.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/unbalanced_negative_stack.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/374_inline_assembly_unbalanced_negative_stack.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/unbalanced_negative_stack.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/373_inline_assembly_unbalanced_positive_stack.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/unbalanced_positive_stack.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/373_inline_assembly_unbalanced_positive_stack.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/unbalanced_positive_stack.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/375_inline_assembly_unbalanced_two_stack_load.sol b/test/libsolidity/syntaxTests/inlineAssembly/invalid/unbalanced_two_stack_load.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/375_inline_assembly_unbalanced_two_stack_load.sol rename to test/libsolidity/syntaxTests/inlineAssembly/invalid/unbalanced_two_stack_load.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/449_no_unused_inline_asm.sol b/test/libsolidity/syntaxTests/inlineAssembly/no_unused_variable_warning.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/449_no_unused_inline_asm.sol rename to test/libsolidity/syntaxTests/inlineAssembly/no_unused_variable_warning.sol diff --git a/test/libsolidity/syntaxTests/nameAndTypeResolution/588_inline_assembly_two_stack_slots.sol b/test/libsolidity/syntaxTests/inlineAssembly/two_stack_slots.sol similarity index 100% rename from test/libsolidity/syntaxTests/nameAndTypeResolution/588_inline_assembly_two_stack_slots.sol rename to test/libsolidity/syntaxTests/inlineAssembly/two_stack_slots.sol