├── LICENSE ├── README.md ├── examples ├── Readme.md ├── SDL.bat ├── SDL3.bat ├── box2d.bat ├── cJSON.bat ├── cake.bat ├── curl.bat ├── freetype.bat ├── glfw.bat ├── libpng.bat ├── libsndfile.bat ├── miniaudio.bat ├── miniz.bat ├── neovim.bat ├── nuklear.bat ├── openssl.bat ├── raddebugger.bat ├── raylib.bat ├── tinycc.bat ├── wasm3.bat ├── yasm.bat ├── zlib.bat └── zydis.bat ├── implicit ├── include │ ├── emmintrin.h │ ├── excpt.h │ ├── hlc │ │ ├── assert.c │ │ ├── assert.h │ │ ├── core.c │ │ ├── memory_arena.c │ │ ├── memory_arena.h │ │ ├── print.c │ │ ├── print.h │ │ ├── simple_file.c │ │ ├── simple_file.h │ │ ├── string.c │ │ └── string.h │ ├── immintrin.h │ ├── intrin.h │ ├── intrinsic.c │ ├── iso646.h │ ├── limits.h │ ├── mmintrin.h │ ├── nmmintrin.h │ ├── oldnames.c │ ├── pmmintrin.h │ ├── runtime.c │ ├── setjmp.c │ ├── setjmp.h │ ├── smmintrin.h │ ├── stdarg.h │ ├── stdatomic.c │ ├── stdatomic.h │ ├── stdbool.h │ ├── stdint.h │ ├── tmmintrin.h │ ├── vcruntime.h │ ├── vcruntime_new_debug.h │ ├── vcruntime_startup.h │ ├── vcruntime_string.h │ ├── winnt.h │ ├── wmmintrin.h │ ├── x86intrin.h │ └── xmmintrin.h ├── pre_WinMain.c ├── pre_main.c ├── pre_main_common.c ├── pre_main_envp.c ├── pre_main_no_args.c ├── pre_wWinMain.c ├── pre_wmain.c ├── pre_wmain_envp.c └── pre_wmain_no_args.c ├── meta_programs ├── hlc.cli └── parse_cli.c ├── src ├── ar.c ├── ast.c ├── cli.c ├── coff_writer.c ├── diagnostic.c ├── emit_inline_asm_block.c ├── emit_x64.c ├── explain.c ├── ir.h ├── main.c ├── obj_writer.c ├── options.h ├── parse.c ├── parse_asm_block.c ├── preprocess.c ├── stb_sprintf.h ├── std.c ├── timing.c └── windows.c ├── test_runner.c └── tests ├── broken ├── _start_with_ExitProcess_should_not_warn_for_no_return_a_value.c ├── big_struct.c ├── filling_in_bounds_for_array_of_unknown_size.c ├── intrinsic.c ├── non_constant_initializer_in_pruned_function.c ├── out_of_order_typedef_and_abstract_function_declarator.c ├── self_include.c ├── static_initializer_array_subscript_string_literal.c ├── unresolved_type_as_second_in_declaration_list_makes_the_first_one_be_defined_twice.c └── use_float_as_m128_inline_asm.c ├── compile ├── LLONG_MAX_should_be_signed.c ├── _Generic_with_function_or_array.c ├── __LINE__should_be_correct.c ├── __has_include.c ├── __pragma_pack_1.c ├── accept_defines_with_the_open_paren_on_the_next_line.c ├── accept_typedef_to_void_as_empty_parameter_list.c ├── adding_zero_to_array_can_not_be_const_proped_because_it_adds_a_lhs_cast_before.c ├── address_of_array.c ├── anonymous_struct_initialize.c ├── argument_expansion_and_rescanning.c ├── array_of_unknown_size_and_unresolved_type.c ├── array_of_unknown_size_array_initializer.c ├── array_ordering_which_causes_a_bunch_of_sleeps.c ├── assignment_to_incomplete_pointer_with_mismatching_type.c ├── assignment_within_condition.c ├── bitfields_and_anonymous_struct_members.c ├── bitfields_and_varargs_functions.c ├── both_branches_of_if_return_a_value.c ├── brace_enclosed_string_literal_array_initializers.c ├── call_tree.c ├── calling_comma_expression.c ├── cast_struct_to_itself.c ├── comma_expressions_integer_literals_and_casts.c ├── comparing_pointers_of_different_types.c ├── complex_constant_initializers.c ├── concatinate_macro_called_with_a_newline.c ├── concatinate_macro_called_with_a_newline_but_also_stringify_it.c ├── constant_offset.c ├── custom_main.c ├── debugbreak_is_instrinsic.c ├── declaration_at_the_end_of_function.c ├── declarators.c ├── declspec__Noreturn.c ├── defined_type_for_comparison_operations_should_be_small.c ├── disabled_invalid_preprocessor_directive.c ├── disabled_static_elif_tests.c ├── dllimport_referanced_by_global.c ├── dont_warn_on_assignment_type_mismatch_when_its_fine.c ├── double_array_and_index_initialzer.c ├── double_array_subscript.c ├── double_braced_scalar_initializers.c ├── double_include_of_pathed_system_include.c ├── double_typedef_to_unresolved.c ├── easy.c ├── elif_inside_if0_block_should_not_complain_about_junk.c ├── empty_hashes.c ├── empty_hashhash.c ├── empty_statement_at_the_end_of_function.c ├── endif_last_thing_in_the_file.c ├── escaping_should_happend_before_concatination.c ├── extenal_variable_inside_function_compiling_to_object.c ├── extern_const_declspec.c ├── extern_dllexport_declarations_of_unresolved_type_which_has_its_address_taken.c ├── extraneous_semicolons.c ├── forgetting_to_return_a_value.c ├── function_containing_noreturn_call_must_not_return_a_value.c ├── function_declaration_with_argument_of_unresolved_type_gets_defined.c ├── function_in_if.c ├── function_like_macro_in_argument_list_of_other_macro_that_is_not_expanded_in_the_arguments_but_only_during_rescanning.c ├── function_like_macro_with_space_parameter_list.c ├── function_pointer_deref.c ├── function_pointer_deref_address.c ├── gcc_extension_for_removing_comma_for_empty__VA_ARGS__.c ├── globally_referenced_enum_member_compile_to_object.c ├── grab_bag.c ├── hashhash.c ├── hello_world.c ├── if_with_scope_returns_a_value_only_in_one_branch.c ├── implicit_float_to_int_in_initializer.c ├── include_and_defines.c ├── include_math.c ├── include_system_include_that_includes_a_relative_include.c ├── includes_pragma_once_header_with_both_system_and_relative_path_include.c ├── incomplete_struct_match.c ├── infinite_loop_counts_as_returning_value.c ├── initialized_dllexport.c ├── initializer_of_empty_structure.c ├── initializers.c ├── initializing_atomic_integers_statically.c ├── inline_intrinsic_function_with_a_bunch_of_arguments.c ├── invalid_directives_disabled_by_static_if.c ├── keyword_in_defined.c ├── legal_redeclaration_of_enum.c ├── legal_unresolved_types.c ├── local_extern_array_of_unknown_size_should_find_array_of_known_size.c ├── local_function_should_not_complain_about_redeclarations.c ├── main_envp.c ├── many_lf_enum.c ├── member_access_after_array_access_of_later_struct_argument.c ├── member_designator_in_initializer_list_has_to_modify_what_the_current_object_is.c ├── multiply_by_zero_should_compile.c ├── need_to_escape_when_stringifying.c ├── noreturn_function_returns_a_value.c ├── one_case_in_switch_statement_forgets_to_return_a_value.c ├── only_one_branch_of_an_if_returns_a_value.c ├── only_warn_on_redeclartion_with_mismatching_dllexport_or_selectany_attribute.c ├── order_of_array_declarators.c ├── patch_to_static_variable_obj.c ├── pointer_casts_in_addition_in_static_initializer.c ├── pointer_literal_to_submember.c ├── pointer_plus_bitfield.c ├── pointer_to_undeclared_struct_in_struct.c ├── pragma_comment_lib.c ├── pragma_comment_lib_in_obj.c ├── pragma_pack_around_declaration.c ├── pragma_pack_at_the_end_of_the_file.c ├── predeclaration_of_non_defined_dll_export_function.c ├── really_large_array_subscripts.c ├── redeclaration_of_macro.c ├── redefine_alignas_macro.c ├── redefine_macro_should_only_warn.c ├── referencing_an_external_structure_of_unresolved_type_by_address_should_work_in_object_file.c ├── register_sized_struct_in_conditional_expression_gets_membered.c ├── returning_assignment_of_double.c ├── returns_a_value_in_a_subscope.c ├── self_referanced_struct_and_typedef.c ├── separator_in_number.c ├── shadowing_global_struct_at_local_scope.c ├── signed_and_unsigned_integer_literals_in_static_if.c ├── sizeof_and_struct_literal_precedence.c ├── sizeof_full_bitfield.c ├── sizeof_global_in_array_length_inside_structure_at_global_scope.c ├── sizeof_on_array_of_unknown_size_array_literal.c ├── sleep_on_array_size.c ├── sleeping_on_typedef_to_already_defined_struct.c ├── sleeping_type.c ├── sleeping_unresolved_array.c ├── split_pragma_alignment_on_declaration.c ├── static_array_of_enum_size.c ├── static_if_and_ternaries.c ├── static_if_space_before_directive_that_follows_a_directive.c ├── static_thread_local_variable_with_patch.c ├── string_literal_column_tests.c ├── string_literal_in_constant_expression.c ├── string_question_mark_and_implcit_conversion_to_bool.c ├── subscript_with_bitfield_assignment.c ├── switch_statement_returns_value.c ├── switch_with_default_case_does_return_a_value.c ├── system_include_dir_for_relative_include_test │ ├── relative_include.h │ └── system_include.h ├── test_for_broken_declaration_regrowing_function.c ├── this_is_a_dll_because_of_DllMain.c ├── this_is_a_dll_with_no_entry_point_as_determined_by_the_out_file_extension.c ├── threading_of_declarations.c ├── trailling_comma_in_function_calls.c ├── type_stack_grow.c ├── typedef_to_struct_that_gets_filled_in_in_another_typedef.c ├── typedef_to_unresolved_pointer_type.c ├── uintmax_without_suffix_should_still_be_bigger_than_intmax.c ├── unary_plus_on_float_literal_should_still_be_constant.c ├── unfilled_external_at_block_scope_when_compiling_to_object.c ├── unnamed_parameters_in_function_definition.c ├── unreferenced_external_variable_of_undefined_struct_type.c ├── unreferenced_static_inline_references_external_undefined_globals_variable.c ├── unresolved_pointer_dereferance.c ├── unresolved_return_type.c ├── unresolved_type_at_local_scope.c ├── unresolved_types_that_are_later_filled_in_should_work_at_global_scope.c ├── unsuported_pragma.c ├── using_defined_outside_of_static_if.c ├── using_typedef_to_array_of_unknown_size_multiple_times.c ├── void_pointer_tests.c ├── void_typed_ternary.c ├── warn_on_extern_declaration_into_inline_declaration.c ├── warn_on_redeclaring_a_function_to_be_static_after_there_was_already_an_external_declaration.c ├── warning_for_declarations_that_do_not_define_anything.c ├── weird_argument_in_function_declarator.c ├── whitespace_after_varargs_in_function_like_macro_definition.c ├── windows_defines.c ├── wmain_envp.c └── zero_sized_struct.c ├── error ├── __FUNCTION__outside_function.c ├── __pragma_without_paren.c ├── alignment_specifier_must_be_a_power_of_two.c ├── another_static_if_fail_check_that_is_just_not_supposed_to_assert.c ├── array_of_unknown_size_in_sub_struct_with_members_after_it.c ├── assignment_of_array_of_unknown_size.c ├── backslash_at_the_end_of_the_file.c ├── case_more_then_once.c ├── cast_int_to_struct.c ├── cast_to_function_type.c ├── cast_to_unresolved_struct.c ├── circular_dependency.c ├── compile_time_div_or_mod_by_zero.c ├── compound_assignment_for_bool_with_rhs_of_string_type.c ├── could_not_find_pragma_comment_lib.c ├── crashing_error_recovery_for_constant_expressions_that_result_in_integer_literals.c ├── declaration_of_unresolved_type.c ├── deeply_nested_struct.c ├── default_arguments.c ├── defined_type_should_always_be_big_enough_for_value_incorrect_printlike_warning.c ├── defining_alloca.c ├── defining_local_unresolved_struct_in_subscope.c ├── disabled_if_should_not_complain_about_junk.c ├── dllimport_and_dllexport_at_global_scope.c ├── dllimport_and_dllexport_at_local_scope.c ├── dot_expression_should_not_set_lhs_expression_flag.c ├── double_default.c ├── double_sleep.c ├── elif_after_else.c ├── endif_header.h ├── ensure_correct_line_error_after_object_like_into_function_like_macro_expansion.c ├── ensure_the_location_of_basic_error_report_is_correct.c ├── error_in_expression_within_struct_initializer_resetting_should_exit_statement.c ├── escaped_string_literals_should_increment_the_line_count.c ├── extern.c ├── extern_variable_was_never_filled_in.c ├── file_ends_in_macro_expansion.c ├── flexible_array_member_initialization.c ├── float_literals_suffixes_and_a_number_at_the_end.c ├── function_calls_are_not_lhs_expressions.c ├── function_in_struct.c ├── function_scope_array_size_overflow.c ├── function_type_compount_literal.c ├── half_parenthesized_comma_expression_in_static_if.c ├── hash_before_non_argument.c ├── hash_from_macro_expansion_should_not_be_directive.c ├── hash_if.c ├── hashes1.c ├── hashes2.c ├── hashes3.c ├── hashes4.c ├── hashes5.c ├── hashes6.c ├── hashes7.c ├── hashes8.c ├── include_open_index.c ├── including_endif_header.c ├── initializing_array_of_empty_struct.c ├── initializing_empty_struct.c ├── initializing_nested_compound_using_designator_has_to_increment_member_index_by_more_than_one.c ├── initializing_with_member_of_struct_literal_at_global_scope.c ├── inline_data_declaration.c ├── integer_promotion_and_bool.c ├── invalid_array_and_function_declarators.c ├── invalid_declarator_of_pointer_type.c ├── label_redefinition.c ├── link_to_non_existant_library.c ├── local_extern_declaration_with_wrong_type_should_error.c ├── macro_expansion_in_include_directive_eats_the_rest_of_the_file_then_errors.c ├── main_sleeping_on_itself.c ├── main_without_ending_closed_curly.c ├── member_is_not_in_struct_within_struct_literal.c ├── member_redefinition.c ├── mod_by_zero_in_static_if.c ├── mod_for_float_literals.c ├── never_filled_in_extern_variable_in_block_scope_should_avoid_undeclared_identifiers.c ├── non_constant_array_length_inside_structure_at_global_scope.c ├── non_defined_entry_point.c ├── not_a_type_error_in_generic.c ├── octal_fail.c ├── pointer_arithmetic_on_function_type.c ├── pointer_deref_to_incomplete_array.c ├── redeclaration_of_structure_one_with_pointer_to_int_one_with_pointer_to_void.c ├── redeclaring_enum_value.c ├── redeclaring_variable_as_typedef.c ├── redefining_defined.c ├── rogue_semicolon.c ├── should_report_undeclared_identifiers_in_structures.c ├── sleeping_on_ident_after_struct_has_been_defined.c ├── static_assert_requires_semicolon.c ├── static_else_last_thing_in_the_file.c ├── static_if_last_thing_in_the_file.c ├── static_if_ternary_ends_to_early.c ├── struct_self_inclusion.c ├── typedef_and_anonymous_use.c ├── typedef_to_array_of_unknown_size_should_not_get_overwritten_by_sized_typedef.c ├── typedef_to_itself.c ├── typedefed_function_with_scope.c ├── u64_values_in_static_if.c ├── unary_plus_on_pointers.c ├── unbounded_static_if_recursion.c ├── unended_cast_to_function.c ├── unnamed_int_declaration_in_structure.c ├── unresolved_anonymous_union.c ├── unresolved_array.c ├── unresolved_array_in_struct.c ├── unresolved_struct_inclusion.c ├── unresolved_type_in_struct_in_function_declaration.c ├── using_expression_of_type_void_as_an_argument_to_varargs_function.c ├── using_wrong_tag_to_access_compound.c ├── va_start_errors.c ├── very_large_bitfield.c ├── very_negative_bitfield.c ├── void_declaration.c ├── void_pointer_arithmetic.c ├── void_semi_in_struct.c ├── void_type_in_struct.c └── we_should_not_be_able_to_index_a_pointer_to_an_unresolved_struct.c ├── linkage ├── array_initializer_is_in_different_file │ ├── header.h │ ├── main.c │ └── other.c ├── arrays_of_unknown_size_filled_in_in_first │ ├── main.c │ └── other.c ├── crt_and_dll │ ├── arst │ ├── opens_a_file.c │ └── reads_the_file.c ├── dllexport_only_defined_in_one │ ├── header.h │ ├── main.c │ └── other.c ├── dllimport_and_dllexport │ ├── main.c │ ├── other.dll │ └── other.lib ├── locally_extern_declared_variable │ ├── main.c │ └── other.c ├── predefined_inline_asm_function │ ├── main.c │ └── other.c ├── simple_static │ ├── main.c │ └── other.c ├── sizeof_array_of_unknown_size_which_gets_filled_in_other_compilation_unit │ ├── main.c │ └── other.c ├── static_function_pointer_array_that_references_external_function │ ├── main.c │ └── other.c ├── struct_literals_should_not_have_the_open_curly_as_their_symbol.c ├── the_body_of_an_inline_extern_function_included_in_two_compilation_units_should_not_be_parsed_twice │ ├── file_one_which_includes_the_header.c │ ├── file_two_which_includes_the_header.c │ └── header_with_an_inline_function_that_has_a_static_buffer.h ├── type_index_for_undefined_struct_as_argument_for_function_pointer │ ├── main.c │ └── other.c ├── uninitialized_dllexport_variable_should_be_automatic.c └── where_is_main │ ├── main.c │ └── other.c ├── run ├── _Bool.c ├── __noop.c ├── alloca.c ├── array_designator_next_current_object.c ├── array_of_unknown_size_compound_literal_current_object.c ├── array_of_unknown_size_is_never_filled_in.c ├── arrays_and_logical_and.c ├── arrays_of_unknown_size_initialized_by_string_literals.c ├── assigning_to_a_function_pointer.c ├── big_return_type_and_first_float_argument.c ├── bitfield_arguments_to_local_function.c ├── bitfields.c ├── byteswaps.c ├── cast_to_float_in_initializer.c ├── check_AddressOfReturnAddress_using_dbghelp.c ├── checking_predefines_from_the_commandline.c ├── comma_expression_that_end_in_a_function_should_still_evaluate_their_lhs.c ├── comparing_double_to_float_literal.c ├── conditional_with_u32_and_u64.c ├── constant_condition_in_conditional_expression.c ├── constant_logical_or_and_exit.c ├── deref_call.c ├── dllimport_in_function.c ├── do_while_false.c ├── empty_data_section.c ├── empty_program_no_debug_has_no_rdata.c ├── float_test.c ├── function_returns_a_function_ptr_returns_a_funtion_pointer.c ├── function_that_is_only_referenced_by_a_global_declaration.c ├── handle_escaped_percent_correctly_in_printlike_function.c ├── hex_escape_sequences_and_character_literal_sizes.c ├── if_on_bitfield.c ├── implicit_return_zero_for_main.c ├── implicitly_dllimport_functions.c ├── implicitly_initializing_trailing_array_member_with_struct_literal.c ├── inc_dec_Bool.c ├── increment_and_decrement_on_an_empty_struct.c ├── initialized_array_of_unions_containing_just_a_flexible_array_member.c ├── initialized_flexible_array_members.c ├── initializer_of_struct_which_contains_unnamed_member.c ├── initializers_need_to_patch_outer_type_as_well.c ├── initializing_with_struct_literal_at_global_scope.c ├── integer_promotion_for_unary_operators_on_integer_literals.c ├── intrinsic_argument_to_varargs_procedure.c ├── intrinsic_function_argument.c ├── intrinsic_test.c ├── jnz.c ├── local_extern_compound.c ├── local_function_declaration_later_function_definition.c ├── local_variable_test.c ├── logical_and_logical_or_and_bitfields.c ├── lzcnt.c ├── member_offset_in_initializer_of_array.c ├── minus_one_pointer_literal.c ├── minus_zero.c ├── negative_subscript.c ├── octal_const.c ├── oddly_sized_struct_types.c ├── offsets_on_anonymous_substructs.c ├── packed.c ├── patches_into_flexible_array_member.c ├── pointer_arithmetic_incorrect_order.c ├── pointer_arithmetic_with_minus_one.c ├── pointers_to_arrays_of_unknown_size.c ├── pragma_push_pack.c ├── preinc_predec_floats.c ├── preinc_u8.c ├── printlike.c ├── readme.c ├── redeclaring_in_same_scope_and_regrowing_the_declaration_table.c ├── return_address.c ├── returning_al_from_inline_asm.c ├── small_dumb_intrinsics_test_for_return_values.c ├── stacktrace.c ├── static_address_of_static_variable.c ├── static_array_addresses_and_math.c ├── static_initializers_to_string_literal.c ├── static_reference_of_dll_import_function_needs_stub_compile_to_object.c ├── static_reference_of_dllimport_function_needs_stub.c ├── string_initializer_in_function.c ├── string_literal_in_compound_initialier_in_compound_initializer_overwrote_future_string_literals.c ├── stringify_tests.c ├── subscripting_string_literals.c ├── test.c ├── test.h ├── test_unicode_in_string_literals.c ├── the_infinite_function_call.c ├── tls.c ├── using_array_compound_literals_to_initialize_struct_members.c ├── using_the_size_of_an_array_of_unknown_size_before_it_is_filled_in.c ├── varargs_with_floating_point_immediate.c └── we_have_to_have_a_pre_main_file_even_for_main_without_arguments.c └── stdlib ├── setjmp.c ├── stdatomic.c ├── stddef.c └── using_strdup_from_oldnames.c /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/README.md -------------------------------------------------------------------------------- /examples/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/Readme.md -------------------------------------------------------------------------------- /examples/SDL.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/SDL.bat -------------------------------------------------------------------------------- /examples/SDL3.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/SDL3.bat -------------------------------------------------------------------------------- /examples/box2d.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/box2d.bat -------------------------------------------------------------------------------- /examples/cJSON.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/cJSON.bat -------------------------------------------------------------------------------- /examples/cake.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/cake.bat -------------------------------------------------------------------------------- /examples/curl.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/curl.bat -------------------------------------------------------------------------------- /examples/freetype.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/freetype.bat -------------------------------------------------------------------------------- /examples/glfw.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/glfw.bat -------------------------------------------------------------------------------- /examples/libpng.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/libpng.bat -------------------------------------------------------------------------------- /examples/libsndfile.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/libsndfile.bat -------------------------------------------------------------------------------- /examples/miniaudio.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/miniaudio.bat -------------------------------------------------------------------------------- /examples/miniz.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/miniz.bat -------------------------------------------------------------------------------- /examples/neovim.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/neovim.bat -------------------------------------------------------------------------------- /examples/nuklear.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/nuklear.bat -------------------------------------------------------------------------------- /examples/openssl.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/openssl.bat -------------------------------------------------------------------------------- /examples/raddebugger.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/raddebugger.bat -------------------------------------------------------------------------------- /examples/raylib.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/raylib.bat -------------------------------------------------------------------------------- /examples/tinycc.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/tinycc.bat -------------------------------------------------------------------------------- /examples/wasm3.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/wasm3.bat -------------------------------------------------------------------------------- /examples/yasm.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/yasm.bat -------------------------------------------------------------------------------- /examples/zlib.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/zlib.bat -------------------------------------------------------------------------------- /examples/zydis.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/examples/zydis.bat -------------------------------------------------------------------------------- /implicit/include/emmintrin.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | -------------------------------------------------------------------------------- /implicit/include/excpt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/excpt.h -------------------------------------------------------------------------------- /implicit/include/hlc/assert.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/hlc/assert.c -------------------------------------------------------------------------------- /implicit/include/hlc/assert.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/hlc/assert.h -------------------------------------------------------------------------------- /implicit/include/hlc/core.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/hlc/core.c -------------------------------------------------------------------------------- /implicit/include/hlc/memory_arena.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/hlc/memory_arena.c -------------------------------------------------------------------------------- /implicit/include/hlc/memory_arena.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/hlc/memory_arena.h -------------------------------------------------------------------------------- /implicit/include/hlc/print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/hlc/print.c -------------------------------------------------------------------------------- /implicit/include/hlc/print.h: -------------------------------------------------------------------------------- 1 | 2 | #pragma compilation_unit("print.c") 3 | -------------------------------------------------------------------------------- /implicit/include/hlc/simple_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/hlc/simple_file.c -------------------------------------------------------------------------------- /implicit/include/hlc/simple_file.h: -------------------------------------------------------------------------------- 1 | 2 | #pragma compilation_unit("simple_file.c") 3 | -------------------------------------------------------------------------------- /implicit/include/hlc/string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/hlc/string.c -------------------------------------------------------------------------------- /implicit/include/hlc/string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/hlc/string.h -------------------------------------------------------------------------------- /implicit/include/immintrin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/immintrin.h -------------------------------------------------------------------------------- /implicit/include/intrin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/intrin.h -------------------------------------------------------------------------------- /implicit/include/intrinsic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/intrinsic.c -------------------------------------------------------------------------------- /implicit/include/iso646.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/iso646.h -------------------------------------------------------------------------------- /implicit/include/limits.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/limits.h -------------------------------------------------------------------------------- /implicit/include/mmintrin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/mmintrin.h -------------------------------------------------------------------------------- /implicit/include/nmmintrin.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | -------------------------------------------------------------------------------- /implicit/include/oldnames.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/oldnames.c -------------------------------------------------------------------------------- /implicit/include/pmmintrin.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | -------------------------------------------------------------------------------- /implicit/include/runtime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/runtime.c -------------------------------------------------------------------------------- /implicit/include/setjmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/setjmp.c -------------------------------------------------------------------------------- /implicit/include/setjmp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/setjmp.h -------------------------------------------------------------------------------- /implicit/include/smmintrin.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | -------------------------------------------------------------------------------- /implicit/include/stdarg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/stdarg.h -------------------------------------------------------------------------------- /implicit/include/stdatomic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/stdatomic.c -------------------------------------------------------------------------------- /implicit/include/stdatomic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/stdatomic.h -------------------------------------------------------------------------------- /implicit/include/stdbool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/stdbool.h -------------------------------------------------------------------------------- /implicit/include/stdint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/stdint.h -------------------------------------------------------------------------------- /implicit/include/tmmintrin.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | -------------------------------------------------------------------------------- /implicit/include/vcruntime.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/vcruntime.h -------------------------------------------------------------------------------- /implicit/include/vcruntime_new_debug.h: -------------------------------------------------------------------------------- 1 | 2 | // ? 3 | -------------------------------------------------------------------------------- /implicit/include/vcruntime_startup.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/vcruntime_startup.h -------------------------------------------------------------------------------- /implicit/include/vcruntime_string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/vcruntime_string.h -------------------------------------------------------------------------------- /implicit/include/winnt.h: -------------------------------------------------------------------------------- 1 | 2 | #pragma compilation_unit("intrinsic.c") 3 | 4 | #include_next 5 | -------------------------------------------------------------------------------- /implicit/include/wmmintrin.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | -------------------------------------------------------------------------------- /implicit/include/x86intrin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/x86intrin.h -------------------------------------------------------------------------------- /implicit/include/xmmintrin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/include/xmmintrin.h -------------------------------------------------------------------------------- /implicit/pre_WinMain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/pre_WinMain.c -------------------------------------------------------------------------------- /implicit/pre_main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/pre_main.c -------------------------------------------------------------------------------- /implicit/pre_main_common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/pre_main_common.c -------------------------------------------------------------------------------- /implicit/pre_main_envp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/pre_main_envp.c -------------------------------------------------------------------------------- /implicit/pre_main_no_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/pre_main_no_args.c -------------------------------------------------------------------------------- /implicit/pre_wWinMain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/pre_wWinMain.c -------------------------------------------------------------------------------- /implicit/pre_wmain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/pre_wmain.c -------------------------------------------------------------------------------- /implicit/pre_wmain_envp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/pre_wmain_envp.c -------------------------------------------------------------------------------- /implicit/pre_wmain_no_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/implicit/pre_wmain_no_args.c -------------------------------------------------------------------------------- /meta_programs/hlc.cli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/meta_programs/hlc.cli -------------------------------------------------------------------------------- /meta_programs/parse_cli.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/meta_programs/parse_cli.c -------------------------------------------------------------------------------- /src/ar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/ar.c -------------------------------------------------------------------------------- /src/ast.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/ast.c -------------------------------------------------------------------------------- /src/cli.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/cli.c -------------------------------------------------------------------------------- /src/coff_writer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/coff_writer.c -------------------------------------------------------------------------------- /src/diagnostic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/diagnostic.c -------------------------------------------------------------------------------- /src/emit_inline_asm_block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/emit_inline_asm_block.c -------------------------------------------------------------------------------- /src/emit_x64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/emit_x64.c -------------------------------------------------------------------------------- /src/explain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/explain.c -------------------------------------------------------------------------------- /src/ir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/ir.h -------------------------------------------------------------------------------- /src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/main.c -------------------------------------------------------------------------------- /src/obj_writer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/obj_writer.c -------------------------------------------------------------------------------- /src/options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/options.h -------------------------------------------------------------------------------- /src/parse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/parse.c -------------------------------------------------------------------------------- /src/parse_asm_block.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/parse_asm_block.c -------------------------------------------------------------------------------- /src/preprocess.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/preprocess.c -------------------------------------------------------------------------------- /src/stb_sprintf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/stb_sprintf.h -------------------------------------------------------------------------------- /src/std.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/std.c -------------------------------------------------------------------------------- /src/timing.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/timing.c -------------------------------------------------------------------------------- /src/windows.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/src/windows.c -------------------------------------------------------------------------------- /test_runner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/test_runner.c -------------------------------------------------------------------------------- /tests/broken/_start_with_ExitProcess_should_not_warn_for_no_return_a_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/broken/_start_with_ExitProcess_should_not_warn_for_no_return_a_value.c -------------------------------------------------------------------------------- /tests/broken/big_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/broken/big_struct.c -------------------------------------------------------------------------------- /tests/broken/filling_in_bounds_for_array_of_unknown_size.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/broken/filling_in_bounds_for_array_of_unknown_size.c -------------------------------------------------------------------------------- /tests/broken/intrinsic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/broken/intrinsic.c -------------------------------------------------------------------------------- /tests/broken/non_constant_initializer_in_pruned_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/broken/non_constant_initializer_in_pruned_function.c -------------------------------------------------------------------------------- /tests/broken/out_of_order_typedef_and_abstract_function_declarator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/broken/out_of_order_typedef_and_abstract_function_declarator.c -------------------------------------------------------------------------------- /tests/broken/self_include.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/broken/self_include.c -------------------------------------------------------------------------------- /tests/broken/static_initializer_array_subscript_string_literal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/broken/static_initializer_array_subscript_string_literal.c -------------------------------------------------------------------------------- /tests/broken/unresolved_type_as_second_in_declaration_list_makes_the_first_one_be_defined_twice.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/broken/unresolved_type_as_second_in_declaration_list_makes_the_first_one_be_defined_twice.c -------------------------------------------------------------------------------- /tests/broken/use_float_as_m128_inline_asm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/broken/use_float_as_m128_inline_asm.c -------------------------------------------------------------------------------- /tests/compile/LLONG_MAX_should_be_signed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/LLONG_MAX_should_be_signed.c -------------------------------------------------------------------------------- /tests/compile/_Generic_with_function_or_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/_Generic_with_function_or_array.c -------------------------------------------------------------------------------- /tests/compile/__LINE__should_be_correct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/__LINE__should_be_correct.c -------------------------------------------------------------------------------- /tests/compile/__has_include.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/__has_include.c -------------------------------------------------------------------------------- /tests/compile/__pragma_pack_1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/__pragma_pack_1.c -------------------------------------------------------------------------------- /tests/compile/accept_defines_with_the_open_paren_on_the_next_line.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/accept_defines_with_the_open_paren_on_the_next_line.c -------------------------------------------------------------------------------- /tests/compile/accept_typedef_to_void_as_empty_parameter_list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/accept_typedef_to_void_as_empty_parameter_list.c -------------------------------------------------------------------------------- /tests/compile/adding_zero_to_array_can_not_be_const_proped_because_it_adds_a_lhs_cast_before.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/adding_zero_to_array_can_not_be_const_proped_because_it_adds_a_lhs_cast_before.c -------------------------------------------------------------------------------- /tests/compile/address_of_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/address_of_array.c -------------------------------------------------------------------------------- /tests/compile/anonymous_struct_initialize.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/anonymous_struct_initialize.c -------------------------------------------------------------------------------- /tests/compile/argument_expansion_and_rescanning.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/argument_expansion_and_rescanning.c -------------------------------------------------------------------------------- /tests/compile/array_of_unknown_size_and_unresolved_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/array_of_unknown_size_and_unresolved_type.c -------------------------------------------------------------------------------- /tests/compile/array_of_unknown_size_array_initializer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/array_of_unknown_size_array_initializer.c -------------------------------------------------------------------------------- /tests/compile/array_ordering_which_causes_a_bunch_of_sleeps.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/array_ordering_which_causes_a_bunch_of_sleeps.c -------------------------------------------------------------------------------- /tests/compile/assignment_to_incomplete_pointer_with_mismatching_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/assignment_to_incomplete_pointer_with_mismatching_type.c -------------------------------------------------------------------------------- /tests/compile/assignment_within_condition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/assignment_within_condition.c -------------------------------------------------------------------------------- /tests/compile/bitfields_and_anonymous_struct_members.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/bitfields_and_anonymous_struct_members.c -------------------------------------------------------------------------------- /tests/compile/bitfields_and_varargs_functions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/bitfields_and_varargs_functions.c -------------------------------------------------------------------------------- /tests/compile/both_branches_of_if_return_a_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/both_branches_of_if_return_a_value.c -------------------------------------------------------------------------------- /tests/compile/brace_enclosed_string_literal_array_initializers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/brace_enclosed_string_literal_array_initializers.c -------------------------------------------------------------------------------- /tests/compile/call_tree.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/call_tree.c -------------------------------------------------------------------------------- /tests/compile/calling_comma_expression.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/calling_comma_expression.c -------------------------------------------------------------------------------- /tests/compile/cast_struct_to_itself.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/cast_struct_to_itself.c -------------------------------------------------------------------------------- /tests/compile/comma_expressions_integer_literals_and_casts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/comma_expressions_integer_literals_and_casts.c -------------------------------------------------------------------------------- /tests/compile/comparing_pointers_of_different_types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/comparing_pointers_of_different_types.c -------------------------------------------------------------------------------- /tests/compile/complex_constant_initializers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/complex_constant_initializers.c -------------------------------------------------------------------------------- /tests/compile/concatinate_macro_called_with_a_newline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/concatinate_macro_called_with_a_newline.c -------------------------------------------------------------------------------- /tests/compile/concatinate_macro_called_with_a_newline_but_also_stringify_it.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/concatinate_macro_called_with_a_newline_but_also_stringify_it.c -------------------------------------------------------------------------------- /tests/compile/constant_offset.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/constant_offset.c -------------------------------------------------------------------------------- /tests/compile/custom_main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/custom_main.c -------------------------------------------------------------------------------- /tests/compile/debugbreak_is_instrinsic.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int main(){ 4 | __debugbreak(); 5 | } 6 | -------------------------------------------------------------------------------- /tests/compile/declaration_at_the_end_of_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/declaration_at_the_end_of_function.c -------------------------------------------------------------------------------- /tests/compile/declarators.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/declarators.c -------------------------------------------------------------------------------- /tests/compile/declspec__Noreturn.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/declspec__Noreturn.c -------------------------------------------------------------------------------- /tests/compile/defined_type_for_comparison_operations_should_be_small.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/defined_type_for_comparison_operations_should_be_small.c -------------------------------------------------------------------------------- /tests/compile/disabled_invalid_preprocessor_directive.c: -------------------------------------------------------------------------------- 1 | 2 | #if 0 3 | # arst 4 | #endif 5 | 6 | int main(){ 7 | return 1; 8 | } 9 | -------------------------------------------------------------------------------- /tests/compile/disabled_static_elif_tests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/disabled_static_elif_tests.c -------------------------------------------------------------------------------- /tests/compile/dllimport_referanced_by_global.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/dllimport_referanced_by_global.c -------------------------------------------------------------------------------- /tests/compile/dont_warn_on_assignment_type_mismatch_when_its_fine.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/dont_warn_on_assignment_type_mismatch_when_its_fine.c -------------------------------------------------------------------------------- /tests/compile/double_array_and_index_initialzer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/double_array_and_index_initialzer.c -------------------------------------------------------------------------------- /tests/compile/double_array_subscript.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/double_array_subscript.c -------------------------------------------------------------------------------- /tests/compile/double_braced_scalar_initializers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/double_braced_scalar_initializers.c -------------------------------------------------------------------------------- /tests/compile/double_include_of_pathed_system_include.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/double_include_of_pathed_system_include.c -------------------------------------------------------------------------------- /tests/compile/double_typedef_to_unresolved.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/double_typedef_to_unresolved.c -------------------------------------------------------------------------------- /tests/compile/easy.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int main(){ 4 | } 5 | -------------------------------------------------------------------------------- /tests/compile/elif_inside_if0_block_should_not_complain_about_junk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/elif_inside_if0_block_should_not_complain_about_junk.c -------------------------------------------------------------------------------- /tests/compile/empty_hashes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/empty_hashes.c -------------------------------------------------------------------------------- /tests/compile/empty_hashhash.c: -------------------------------------------------------------------------------- 1 | 2 | #define P1(a,b) a##b 3 | P1(,) 4 | 5 | int main(){} -------------------------------------------------------------------------------- /tests/compile/empty_statement_at_the_end_of_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/empty_statement_at_the_end_of_function.c -------------------------------------------------------------------------------- /tests/compile/endif_last_thing_in_the_file.c: -------------------------------------------------------------------------------- 1 | 2 | int main(){} 3 | 4 | #if 0 5 | #endif 6 | -------------------------------------------------------------------------------- /tests/compile/escaping_should_happend_before_concatination.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/escaping_should_happend_before_concatination.c -------------------------------------------------------------------------------- /tests/compile/extenal_variable_inside_function_compiling_to_object.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/extenal_variable_inside_function_compiling_to_object.c -------------------------------------------------------------------------------- /tests/compile/extern_const_declspec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/extern_const_declspec.c -------------------------------------------------------------------------------- /tests/compile/extern_dllexport_declarations_of_unresolved_type_which_has_its_address_taken.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/extern_dllexport_declarations_of_unresolved_type_which_has_its_address_taken.c -------------------------------------------------------------------------------- /tests/compile/extraneous_semicolons.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/extraneous_semicolons.c -------------------------------------------------------------------------------- /tests/compile/forgetting_to_return_a_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/forgetting_to_return_a_value.c -------------------------------------------------------------------------------- /tests/compile/function_containing_noreturn_call_must_not_return_a_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/function_containing_noreturn_call_must_not_return_a_value.c -------------------------------------------------------------------------------- /tests/compile/function_declaration_with_argument_of_unresolved_type_gets_defined.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/function_declaration_with_argument_of_unresolved_type_gets_defined.c -------------------------------------------------------------------------------- /tests/compile/function_in_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/function_in_if.c -------------------------------------------------------------------------------- /tests/compile/function_like_macro_in_argument_list_of_other_macro_that_is_not_expanded_in_the_arguments_but_only_during_rescanning.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/function_like_macro_in_argument_list_of_other_macro_that_is_not_expanded_in_the_arguments_but_only_during_rescanning.c -------------------------------------------------------------------------------- /tests/compile/function_like_macro_with_space_parameter_list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/function_like_macro_with_space_parameter_list.c -------------------------------------------------------------------------------- /tests/compile/function_pointer_deref.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/function_pointer_deref.c -------------------------------------------------------------------------------- /tests/compile/function_pointer_deref_address.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/function_pointer_deref_address.c -------------------------------------------------------------------------------- /tests/compile/gcc_extension_for_removing_comma_for_empty__VA_ARGS__.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/gcc_extension_for_removing_comma_for_empty__VA_ARGS__.c -------------------------------------------------------------------------------- /tests/compile/globally_referenced_enum_member_compile_to_object.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/globally_referenced_enum_member_compile_to_object.c -------------------------------------------------------------------------------- /tests/compile/grab_bag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/grab_bag.c -------------------------------------------------------------------------------- /tests/compile/hashhash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/hashhash.c -------------------------------------------------------------------------------- /tests/compile/hello_world.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/hello_world.c -------------------------------------------------------------------------------- /tests/compile/if_with_scope_returns_a_value_only_in_one_branch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/if_with_scope_returns_a_value_only_in_one_branch.c -------------------------------------------------------------------------------- /tests/compile/implicit_float_to_int_in_initializer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/implicit_float_to_int_in_initializer.c -------------------------------------------------------------------------------- /tests/compile/include_and_defines.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/include_and_defines.c -------------------------------------------------------------------------------- /tests/compile/include_math.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/include_math.c -------------------------------------------------------------------------------- /tests/compile/include_system_include_that_includes_a_relative_include.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/include_system_include_that_includes_a_relative_include.c -------------------------------------------------------------------------------- /tests/compile/includes_pragma_once_header_with_both_system_and_relative_path_include.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/includes_pragma_once_header_with_both_system_and_relative_path_include.c -------------------------------------------------------------------------------- /tests/compile/incomplete_struct_match.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/incomplete_struct_match.c -------------------------------------------------------------------------------- /tests/compile/infinite_loop_counts_as_returning_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/infinite_loop_counts_as_returning_value.c -------------------------------------------------------------------------------- /tests/compile/initialized_dllexport.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/initialized_dllexport.c -------------------------------------------------------------------------------- /tests/compile/initializer_of_empty_structure.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/initializer_of_empty_structure.c -------------------------------------------------------------------------------- /tests/compile/initializers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/initializers.c -------------------------------------------------------------------------------- /tests/compile/initializing_atomic_integers_statically.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/initializing_atomic_integers_statically.c -------------------------------------------------------------------------------- /tests/compile/inline_intrinsic_function_with_a_bunch_of_arguments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/inline_intrinsic_function_with_a_bunch_of_arguments.c -------------------------------------------------------------------------------- /tests/compile/invalid_directives_disabled_by_static_if.c: -------------------------------------------------------------------------------- 1 | 2 | #if 0 3 | #!/bin/bash 4 | 5 | #arst 6 | #endif 7 | 8 | int main(){} 9 | -------------------------------------------------------------------------------- /tests/compile/keyword_in_defined.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/keyword_in_defined.c -------------------------------------------------------------------------------- /tests/compile/legal_redeclaration_of_enum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/legal_redeclaration_of_enum.c -------------------------------------------------------------------------------- /tests/compile/legal_unresolved_types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/legal_unresolved_types.c -------------------------------------------------------------------------------- /tests/compile/local_extern_array_of_unknown_size_should_find_array_of_known_size.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/local_extern_array_of_unknown_size_should_find_array_of_known_size.c -------------------------------------------------------------------------------- /tests/compile/local_function_should_not_complain_about_redeclarations.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/local_function_should_not_complain_about_redeclarations.c -------------------------------------------------------------------------------- /tests/compile/main_envp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/main_envp.c -------------------------------------------------------------------------------- /tests/compile/many_lf_enum.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/many_lf_enum.c -------------------------------------------------------------------------------- /tests/compile/member_access_after_array_access_of_later_struct_argument.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/member_access_after_array_access_of_later_struct_argument.c -------------------------------------------------------------------------------- /tests/compile/member_designator_in_initializer_list_has_to_modify_what_the_current_object_is.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/member_designator_in_initializer_list_has_to_modify_what_the_current_object_is.c -------------------------------------------------------------------------------- /tests/compile/multiply_by_zero_should_compile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/multiply_by_zero_should_compile.c -------------------------------------------------------------------------------- /tests/compile/need_to_escape_when_stringifying.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/need_to_escape_when_stringifying.c -------------------------------------------------------------------------------- /tests/compile/noreturn_function_returns_a_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/noreturn_function_returns_a_value.c -------------------------------------------------------------------------------- /tests/compile/one_case_in_switch_statement_forgets_to_return_a_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/one_case_in_switch_statement_forgets_to_return_a_value.c -------------------------------------------------------------------------------- /tests/compile/only_one_branch_of_an_if_returns_a_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/only_one_branch_of_an_if_returns_a_value.c -------------------------------------------------------------------------------- /tests/compile/only_warn_on_redeclartion_with_mismatching_dllexport_or_selectany_attribute.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/only_warn_on_redeclartion_with_mismatching_dllexport_or_selectany_attribute.c -------------------------------------------------------------------------------- /tests/compile/order_of_array_declarators.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/order_of_array_declarators.c -------------------------------------------------------------------------------- /tests/compile/patch_to_static_variable_obj.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/patch_to_static_variable_obj.c -------------------------------------------------------------------------------- /tests/compile/pointer_casts_in_addition_in_static_initializer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/pointer_casts_in_addition_in_static_initializer.c -------------------------------------------------------------------------------- /tests/compile/pointer_literal_to_submember.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/pointer_literal_to_submember.c -------------------------------------------------------------------------------- /tests/compile/pointer_plus_bitfield.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/pointer_plus_bitfield.c -------------------------------------------------------------------------------- /tests/compile/pointer_to_undeclared_struct_in_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/pointer_to_undeclared_struct_in_struct.c -------------------------------------------------------------------------------- /tests/compile/pragma_comment_lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/pragma_comment_lib.c -------------------------------------------------------------------------------- /tests/compile/pragma_comment_lib_in_obj.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/pragma_comment_lib_in_obj.c -------------------------------------------------------------------------------- /tests/compile/pragma_pack_around_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/pragma_pack_around_declaration.c -------------------------------------------------------------------------------- /tests/compile/pragma_pack_at_the_end_of_the_file.c: -------------------------------------------------------------------------------- 1 | 2 | int main(){} 3 | 4 | #pragma pack(1) 5 | -------------------------------------------------------------------------------- /tests/compile/predeclaration_of_non_defined_dll_export_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/predeclaration_of_non_defined_dll_export_function.c -------------------------------------------------------------------------------- /tests/compile/really_large_array_subscripts.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/really_large_array_subscripts.c -------------------------------------------------------------------------------- /tests/compile/redeclaration_of_macro.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/redeclaration_of_macro.c -------------------------------------------------------------------------------- /tests/compile/redefine_alignas_macro.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/redefine_alignas_macro.c -------------------------------------------------------------------------------- /tests/compile/redefine_macro_should_only_warn.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/redefine_macro_should_only_warn.c -------------------------------------------------------------------------------- /tests/compile/referencing_an_external_structure_of_unresolved_type_by_address_should_work_in_object_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/referencing_an_external_structure_of_unresolved_type_by_address_should_work_in_object_file.c -------------------------------------------------------------------------------- /tests/compile/register_sized_struct_in_conditional_expression_gets_membered.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/register_sized_struct_in_conditional_expression_gets_membered.c -------------------------------------------------------------------------------- /tests/compile/returning_assignment_of_double.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/returning_assignment_of_double.c -------------------------------------------------------------------------------- /tests/compile/returns_a_value_in_a_subscope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/returns_a_value_in_a_subscope.c -------------------------------------------------------------------------------- /tests/compile/self_referanced_struct_and_typedef.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/self_referanced_struct_and_typedef.c -------------------------------------------------------------------------------- /tests/compile/separator_in_number.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/separator_in_number.c -------------------------------------------------------------------------------- /tests/compile/shadowing_global_struct_at_local_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/shadowing_global_struct_at_local_scope.c -------------------------------------------------------------------------------- /tests/compile/signed_and_unsigned_integer_literals_in_static_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/signed_and_unsigned_integer_literals_in_static_if.c -------------------------------------------------------------------------------- /tests/compile/sizeof_and_struct_literal_precedence.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/sizeof_and_struct_literal_precedence.c -------------------------------------------------------------------------------- /tests/compile/sizeof_full_bitfield.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/sizeof_full_bitfield.c -------------------------------------------------------------------------------- /tests/compile/sizeof_global_in_array_length_inside_structure_at_global_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/sizeof_global_in_array_length_inside_structure_at_global_scope.c -------------------------------------------------------------------------------- /tests/compile/sizeof_on_array_of_unknown_size_array_literal.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int main(){ 4 | return sizeof((char[]){1, 2, 3}); 5 | } 6 | -------------------------------------------------------------------------------- /tests/compile/sleep_on_array_size.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/sleep_on_array_size.c -------------------------------------------------------------------------------- /tests/compile/sleeping_on_typedef_to_already_defined_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/sleeping_on_typedef_to_already_defined_struct.c -------------------------------------------------------------------------------- /tests/compile/sleeping_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/sleeping_type.c -------------------------------------------------------------------------------- /tests/compile/sleeping_unresolved_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/sleeping_unresolved_array.c -------------------------------------------------------------------------------- /tests/compile/split_pragma_alignment_on_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/split_pragma_alignment_on_declaration.c -------------------------------------------------------------------------------- /tests/compile/static_array_of_enum_size.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/static_array_of_enum_size.c -------------------------------------------------------------------------------- /tests/compile/static_if_and_ternaries.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/static_if_and_ternaries.c -------------------------------------------------------------------------------- /tests/compile/static_if_space_before_directive_that_follows_a_directive.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/static_if_space_before_directive_that_follows_a_directive.c -------------------------------------------------------------------------------- /tests/compile/static_thread_local_variable_with_patch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/static_thread_local_variable_with_patch.c -------------------------------------------------------------------------------- /tests/compile/string_literal_column_tests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/string_literal_column_tests.c -------------------------------------------------------------------------------- /tests/compile/string_literal_in_constant_expression.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/string_literal_in_constant_expression.c -------------------------------------------------------------------------------- /tests/compile/string_question_mark_and_implcit_conversion_to_bool.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/string_question_mark_and_implcit_conversion_to_bool.c -------------------------------------------------------------------------------- /tests/compile/subscript_with_bitfield_assignment.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/subscript_with_bitfield_assignment.c -------------------------------------------------------------------------------- /tests/compile/switch_statement_returns_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/switch_statement_returns_value.c -------------------------------------------------------------------------------- /tests/compile/switch_with_default_case_does_return_a_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/switch_with_default_case_does_return_a_value.c -------------------------------------------------------------------------------- /tests/compile/system_include_dir_for_relative_include_test/relative_include.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | int arst; 4 | -------------------------------------------------------------------------------- /tests/compile/system_include_dir_for_relative_include_test/system_include.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/system_include_dir_for_relative_include_test/system_include.h -------------------------------------------------------------------------------- /tests/compile/test_for_broken_declaration_regrowing_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/test_for_broken_declaration_regrowing_function.c -------------------------------------------------------------------------------- /tests/compile/this_is_a_dll_because_of_DllMain.c: -------------------------------------------------------------------------------- 1 | 2 | int DllMain(){ 3 | return 1; 4 | } 5 | -------------------------------------------------------------------------------- /tests/compile/this_is_a_dll_with_no_entry_point_as_determined_by_the_out_file_extension.c: -------------------------------------------------------------------------------- 1 | // compile -out test.dll 2 | 3 | __declspec(dllexport) int hello_world; 4 | -------------------------------------------------------------------------------- /tests/compile/threading_of_declarations.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/threading_of_declarations.c -------------------------------------------------------------------------------- /tests/compile/trailling_comma_in_function_calls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/trailling_comma_in_function_calls.c -------------------------------------------------------------------------------- /tests/compile/type_stack_grow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/type_stack_grow.c -------------------------------------------------------------------------------- /tests/compile/typedef_to_struct_that_gets_filled_in_in_another_typedef.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/typedef_to_struct_that_gets_filled_in_in_another_typedef.c -------------------------------------------------------------------------------- /tests/compile/typedef_to_unresolved_pointer_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/typedef_to_unresolved_pointer_type.c -------------------------------------------------------------------------------- /tests/compile/uintmax_without_suffix_should_still_be_bigger_than_intmax.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/uintmax_without_suffix_should_still_be_bigger_than_intmax.c -------------------------------------------------------------------------------- /tests/compile/unary_plus_on_float_literal_should_still_be_constant.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/unary_plus_on_float_literal_should_still_be_constant.c -------------------------------------------------------------------------------- /tests/compile/unfilled_external_at_block_scope_when_compiling_to_object.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/unfilled_external_at_block_scope_when_compiling_to_object.c -------------------------------------------------------------------------------- /tests/compile/unnamed_parameters_in_function_definition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/unnamed_parameters_in_function_definition.c -------------------------------------------------------------------------------- /tests/compile/unreferenced_external_variable_of_undefined_struct_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/unreferenced_external_variable_of_undefined_struct_type.c -------------------------------------------------------------------------------- /tests/compile/unreferenced_static_inline_references_external_undefined_globals_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/unreferenced_static_inline_references_external_undefined_globals_variable.c -------------------------------------------------------------------------------- /tests/compile/unresolved_pointer_dereferance.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/unresolved_pointer_dereferance.c -------------------------------------------------------------------------------- /tests/compile/unresolved_return_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/unresolved_return_type.c -------------------------------------------------------------------------------- /tests/compile/unresolved_type_at_local_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/unresolved_type_at_local_scope.c -------------------------------------------------------------------------------- /tests/compile/unresolved_types_that_are_later_filled_in_should_work_at_global_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/unresolved_types_that_are_later_filled_in_should_work_at_global_scope.c -------------------------------------------------------------------------------- /tests/compile/unsuported_pragma.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/unsuported_pragma.c -------------------------------------------------------------------------------- /tests/compile/using_defined_outside_of_static_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/using_defined_outside_of_static_if.c -------------------------------------------------------------------------------- /tests/compile/using_typedef_to_array_of_unknown_size_multiple_times.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/using_typedef_to_array_of_unknown_size_multiple_times.c -------------------------------------------------------------------------------- /tests/compile/void_pointer_tests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/void_pointer_tests.c -------------------------------------------------------------------------------- /tests/compile/void_typed_ternary.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/void_typed_ternary.c -------------------------------------------------------------------------------- /tests/compile/warn_on_extern_declaration_into_inline_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/warn_on_extern_declaration_into_inline_declaration.c -------------------------------------------------------------------------------- /tests/compile/warn_on_redeclaring_a_function_to_be_static_after_there_was_already_an_external_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/warn_on_redeclaring_a_function_to_be_static_after_there_was_already_an_external_declaration.c -------------------------------------------------------------------------------- /tests/compile/warning_for_declarations_that_do_not_define_anything.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/warning_for_declarations_that_do_not_define_anything.c -------------------------------------------------------------------------------- /tests/compile/weird_argument_in_function_declarator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/weird_argument_in_function_declarator.c -------------------------------------------------------------------------------- /tests/compile/whitespace_after_varargs_in_function_like_macro_definition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/whitespace_after_varargs_in_function_like_macro_definition.c -------------------------------------------------------------------------------- /tests/compile/windows_defines.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/windows_defines.c -------------------------------------------------------------------------------- /tests/compile/wmain_envp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/wmain_envp.c -------------------------------------------------------------------------------- /tests/compile/zero_sized_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/compile/zero_sized_struct.c -------------------------------------------------------------------------------- /tests/error/__FUNCTION__outside_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/__FUNCTION__outside_function.c -------------------------------------------------------------------------------- /tests/error/__pragma_without_paren.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/__pragma_without_paren.c -------------------------------------------------------------------------------- /tests/error/alignment_specifier_must_be_a_power_of_two.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/alignment_specifier_must_be_a_power_of_two.c -------------------------------------------------------------------------------- /tests/error/another_static_if_fail_check_that_is_just_not_supposed_to_assert.c: -------------------------------------------------------------------------------- 1 | // fail "Expected ')' in '#if' argument." 2 | 3 | #if (1 4 | 5 | -------------------------------------------------------------------------------- /tests/error/array_of_unknown_size_in_sub_struct_with_members_after_it.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/array_of_unknown_size_in_sub_struct_with_members_after_it.c -------------------------------------------------------------------------------- /tests/error/assignment_of_array_of_unknown_size.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/assignment_of_array_of_unknown_size.c -------------------------------------------------------------------------------- /tests/error/backslash_at_the_end_of_the_file.c: -------------------------------------------------------------------------------- 1 | // fail 2 | #define M(x) \ -------------------------------------------------------------------------------- /tests/error/case_more_then_once.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/case_more_then_once.c -------------------------------------------------------------------------------- /tests/error/cast_int_to_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/cast_int_to_struct.c -------------------------------------------------------------------------------- /tests/error/cast_to_function_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/cast_to_function_type.c -------------------------------------------------------------------------------- /tests/error/cast_to_unresolved_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/cast_to_unresolved_struct.c -------------------------------------------------------------------------------- /tests/error/circular_dependency.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/circular_dependency.c -------------------------------------------------------------------------------- /tests/error/compile_time_div_or_mod_by_zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/compile_time_div_or_mod_by_zero.c -------------------------------------------------------------------------------- /tests/error/compound_assignment_for_bool_with_rhs_of_string_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/compound_assignment_for_bool_with_rhs_of_string_type.c -------------------------------------------------------------------------------- /tests/error/could_not_find_pragma_comment_lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/could_not_find_pragma_comment_lib.c -------------------------------------------------------------------------------- /tests/error/crashing_error_recovery_for_constant_expressions_that_result_in_integer_literals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/crashing_error_recovery_for_constant_expressions_that_result_in_integer_literals.c -------------------------------------------------------------------------------- /tests/error/declaration_of_unresolved_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/declaration_of_unresolved_type.c -------------------------------------------------------------------------------- /tests/error/deeply_nested_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/deeply_nested_struct.c -------------------------------------------------------------------------------- /tests/error/default_arguments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/default_arguments.c -------------------------------------------------------------------------------- /tests/error/defined_type_should_always_be_big_enough_for_value_incorrect_printlike_warning.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/defined_type_should_always_be_big_enough_for_value_incorrect_printlike_warning.c -------------------------------------------------------------------------------- /tests/error/defining_alloca.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/defining_alloca.c -------------------------------------------------------------------------------- /tests/error/defining_local_unresolved_struct_in_subscope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/defining_local_unresolved_struct_in_subscope.c -------------------------------------------------------------------------------- /tests/error/disabled_if_should_not_complain_about_junk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/disabled_if_should_not_complain_about_junk.c -------------------------------------------------------------------------------- /tests/error/dllimport_and_dllexport_at_global_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/dllimport_and_dllexport_at_global_scope.c -------------------------------------------------------------------------------- /tests/error/dllimport_and_dllexport_at_local_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/dllimport_and_dllexport_at_local_scope.c -------------------------------------------------------------------------------- /tests/error/dot_expression_should_not_set_lhs_expression_flag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/dot_expression_should_not_set_lhs_expression_flag.c -------------------------------------------------------------------------------- /tests/error/double_default.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/double_default.c -------------------------------------------------------------------------------- /tests/error/double_sleep.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/double_sleep.c -------------------------------------------------------------------------------- /tests/error/elif_after_else.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/elif_after_else.c -------------------------------------------------------------------------------- /tests/error/endif_header.h: -------------------------------------------------------------------------------- 1 | #endif 2 | -------------------------------------------------------------------------------- /tests/error/ensure_correct_line_error_after_object_like_into_function_like_macro_expansion.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/ensure_correct_line_error_after_object_like_into_function_like_macro_expansion.c -------------------------------------------------------------------------------- /tests/error/ensure_the_location_of_basic_error_report_is_correct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/ensure_the_location_of_basic_error_report_is_correct.c -------------------------------------------------------------------------------- /tests/error/error_in_expression_within_struct_initializer_resetting_should_exit_statement.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/error_in_expression_within_struct_initializer_resetting_should_exit_statement.c -------------------------------------------------------------------------------- /tests/error/escaped_string_literals_should_increment_the_line_count.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/escaped_string_literals_should_increment_the_line_count.c -------------------------------------------------------------------------------- /tests/error/extern.c: -------------------------------------------------------------------------------- 1 | // fail "Expected a type." 2 | extern 3 | -------------------------------------------------------------------------------- /tests/error/extern_variable_was_never_filled_in.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/extern_variable_was_never_filled_in.c -------------------------------------------------------------------------------- /tests/error/file_ends_in_macro_expansion.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/file_ends_in_macro_expansion.c -------------------------------------------------------------------------------- /tests/error/flexible_array_member_initialization.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/flexible_array_member_initialization.c -------------------------------------------------------------------------------- /tests/error/float_literals_suffixes_and_a_number_at_the_end.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/float_literals_suffixes_and_a_number_at_the_end.c -------------------------------------------------------------------------------- /tests/error/function_calls_are_not_lhs_expressions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/function_calls_are_not_lhs_expressions.c -------------------------------------------------------------------------------- /tests/error/function_in_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/function_in_struct.c -------------------------------------------------------------------------------- /tests/error/function_scope_array_size_overflow.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/function_scope_array_size_overflow.c -------------------------------------------------------------------------------- /tests/error/function_type_compount_literal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/function_type_compount_literal.c -------------------------------------------------------------------------------- /tests/error/half_parenthesized_comma_expression_in_static_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/half_parenthesized_comma_expression_in_static_if.c -------------------------------------------------------------------------------- /tests/error/hash_before_non_argument.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/hash_before_non_argument.c -------------------------------------------------------------------------------- /tests/error/hash_from_macro_expansion_should_not_be_directive.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/hash_from_macro_expansion_should_not_be_directive.c -------------------------------------------------------------------------------- /tests/error/hash_if.c: -------------------------------------------------------------------------------- 1 | // fail "Expected an argument after '#if'." 2 | #if 3 | -------------------------------------------------------------------------------- /tests/error/hashes1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/hashes1.c -------------------------------------------------------------------------------- /tests/error/hashes2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/hashes2.c -------------------------------------------------------------------------------- /tests/error/hashes3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/hashes3.c -------------------------------------------------------------------------------- /tests/error/hashes4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/hashes4.c -------------------------------------------------------------------------------- /tests/error/hashes5.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/hashes5.c -------------------------------------------------------------------------------- /tests/error/hashes6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/hashes6.c -------------------------------------------------------------------------------- /tests/error/hashes7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/hashes7.c -------------------------------------------------------------------------------- /tests/error/hashes8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/hashes8.c -------------------------------------------------------------------------------- /tests/error/include_open_index.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/include_open_index.c -------------------------------------------------------------------------------- /tests/error/including_endif_header.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/including_endif_header.c -------------------------------------------------------------------------------- /tests/error/initializing_array_of_empty_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/initializing_array_of_empty_struct.c -------------------------------------------------------------------------------- /tests/error/initializing_empty_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/initializing_empty_struct.c -------------------------------------------------------------------------------- /tests/error/initializing_nested_compound_using_designator_has_to_increment_member_index_by_more_than_one.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/initializing_nested_compound_using_designator_has_to_increment_member_index_by_more_than_one.c -------------------------------------------------------------------------------- /tests/error/initializing_with_member_of_struct_literal_at_global_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/initializing_with_member_of_struct_literal_at_global_scope.c -------------------------------------------------------------------------------- /tests/error/inline_data_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/inline_data_declaration.c -------------------------------------------------------------------------------- /tests/error/integer_promotion_and_bool.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/integer_promotion_and_bool.c -------------------------------------------------------------------------------- /tests/error/invalid_array_and_function_declarators.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/invalid_array_and_function_declarators.c -------------------------------------------------------------------------------- /tests/error/invalid_declarator_of_pointer_type.c: -------------------------------------------------------------------------------- 1 | // fail 2 | unresolved (*3rr0r); 3 | -------------------------------------------------------------------------------- /tests/error/label_redefinition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/label_redefinition.c -------------------------------------------------------------------------------- /tests/error/link_to_non_existant_library.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/link_to_non_existant_library.c -------------------------------------------------------------------------------- /tests/error/local_extern_declaration_with_wrong_type_should_error.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/local_extern_declaration_with_wrong_type_should_error.c -------------------------------------------------------------------------------- /tests/error/macro_expansion_in_include_directive_eats_the_rest_of_the_file_then_errors.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/macro_expansion_in_include_directive_eats_the_rest_of_the_file_then_errors.c -------------------------------------------------------------------------------- /tests/error/main_sleeping_on_itself.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/main_sleeping_on_itself.c -------------------------------------------------------------------------------- /tests/error/main_without_ending_closed_curly.c: -------------------------------------------------------------------------------- 1 | // fail "Unmatched '{' at global scope." 2 | char main(){ 3 | -------------------------------------------------------------------------------- /tests/error/member_is_not_in_struct_within_struct_literal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/member_is_not_in_struct_within_struct_literal.c -------------------------------------------------------------------------------- /tests/error/member_redefinition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/member_redefinition.c -------------------------------------------------------------------------------- /tests/error/mod_by_zero_in_static_if.c: -------------------------------------------------------------------------------- 1 | // fail "Mod with zero." 2 | 3 | 4 | // This used to crash. 5 | #if 1 % UNDEFINED 6 | 7 | -------------------------------------------------------------------------------- /tests/error/mod_for_float_literals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/mod_for_float_literals.c -------------------------------------------------------------------------------- /tests/error/never_filled_in_extern_variable_in_block_scope_should_avoid_undeclared_identifiers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/never_filled_in_extern_variable_in_block_scope_should_avoid_undeclared_identifiers.c -------------------------------------------------------------------------------- /tests/error/non_constant_array_length_inside_structure_at_global_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/non_constant_array_length_inside_structure_at_global_scope.c -------------------------------------------------------------------------------- /tests/error/non_defined_entry_point.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/non_defined_entry_point.c -------------------------------------------------------------------------------- /tests/error/not_a_type_error_in_generic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/not_a_type_error_in_generic.c -------------------------------------------------------------------------------- /tests/error/octal_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/octal_fail.c -------------------------------------------------------------------------------- /tests/error/pointer_arithmetic_on_function_type.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/pointer_arithmetic_on_function_type.c -------------------------------------------------------------------------------- /tests/error/pointer_deref_to_incomplete_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/pointer_deref_to_incomplete_array.c -------------------------------------------------------------------------------- /tests/error/redeclaration_of_structure_one_with_pointer_to_int_one_with_pointer_to_void.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/redeclaration_of_structure_one_with_pointer_to_int_one_with_pointer_to_void.c -------------------------------------------------------------------------------- /tests/error/redeclaring_enum_value.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/redeclaring_enum_value.c -------------------------------------------------------------------------------- /tests/error/redeclaring_variable_as_typedef.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/redeclaring_variable_as_typedef.c -------------------------------------------------------------------------------- /tests/error/redefining_defined.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/redefining_defined.c -------------------------------------------------------------------------------- /tests/error/rogue_semicolon.c: -------------------------------------------------------------------------------- 1 | // fail 2 | void (*_start)(struct *unresolved p;); 3 | -------------------------------------------------------------------------------- /tests/error/should_report_undeclared_identifiers_in_structures.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/should_report_undeclared_identifiers_in_structures.c -------------------------------------------------------------------------------- /tests/error/sleeping_on_ident_after_struct_has_been_defined.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/sleeping_on_ident_after_struct_has_been_defined.c -------------------------------------------------------------------------------- /tests/error/static_assert_requires_semicolon.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/static_assert_requires_semicolon.c -------------------------------------------------------------------------------- /tests/error/static_else_last_thing_in_the_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/static_else_last_thing_in_the_file.c -------------------------------------------------------------------------------- /tests/error/static_if_last_thing_in_the_file.c: -------------------------------------------------------------------------------- 1 | // fail "'#if' without matching '#endif'." 2 | #if 1 3 | -------------------------------------------------------------------------------- /tests/error/static_if_ternary_ends_to_early.c: -------------------------------------------------------------------------------- 1 | // fail "Expected ':'." 2 | 3 | #if 9671?7447 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/error/struct_self_inclusion.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/struct_self_inclusion.c -------------------------------------------------------------------------------- /tests/error/typedef_and_anonymous_use.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/typedef_and_anonymous_use.c -------------------------------------------------------------------------------- /tests/error/typedef_to_array_of_unknown_size_should_not_get_overwritten_by_sized_typedef.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/typedef_to_array_of_unknown_size_should_not_get_overwritten_by_sized_typedef.c -------------------------------------------------------------------------------- /tests/error/typedef_to_itself.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/typedef_to_itself.c -------------------------------------------------------------------------------- /tests/error/typedefed_function_with_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/typedefed_function_with_scope.c -------------------------------------------------------------------------------- /tests/error/u64_values_in_static_if.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/u64_values_in_static_if.c -------------------------------------------------------------------------------- /tests/error/unary_plus_on_pointers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/unary_plus_on_pointers.c -------------------------------------------------------------------------------- /tests/error/unbounded_static_if_recursion.c: -------------------------------------------------------------------------------- 1 | // fail "Unexpected end to '#if'." 2 | 3 | #if ( 4 | d 5 | -------------------------------------------------------------------------------- /tests/error/unended_cast_to_function.c: -------------------------------------------------------------------------------- 1 | // fail "Expected a type." 2 | 3 | int main(){ 4 | return (float( 5 | } 6 | 7 | -------------------------------------------------------------------------------- /tests/error/unnamed_int_declaration_in_structure.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/unnamed_int_declaration_in_structure.c -------------------------------------------------------------------------------- /tests/error/unresolved_anonymous_union.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/unresolved_anonymous_union.c -------------------------------------------------------------------------------- /tests/error/unresolved_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/unresolved_array.c -------------------------------------------------------------------------------- /tests/error/unresolved_array_in_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/unresolved_array_in_struct.c -------------------------------------------------------------------------------- /tests/error/unresolved_struct_inclusion.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/unresolved_struct_inclusion.c -------------------------------------------------------------------------------- /tests/error/unresolved_type_in_struct_in_function_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/unresolved_type_in_struct_in_function_declaration.c -------------------------------------------------------------------------------- /tests/error/using_expression_of_type_void_as_an_argument_to_varargs_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/using_expression_of_type_void_as_an_argument_to_varargs_function.c -------------------------------------------------------------------------------- /tests/error/using_wrong_tag_to_access_compound.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/using_wrong_tag_to_access_compound.c -------------------------------------------------------------------------------- /tests/error/va_start_errors.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/va_start_errors.c -------------------------------------------------------------------------------- /tests/error/very_large_bitfield.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/very_large_bitfield.c -------------------------------------------------------------------------------- /tests/error/very_negative_bitfield.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/very_negative_bitfield.c -------------------------------------------------------------------------------- /tests/error/void_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/void_declaration.c -------------------------------------------------------------------------------- /tests/error/void_pointer_arithmetic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/void_pointer_arithmetic.c -------------------------------------------------------------------------------- /tests/error/void_semi_in_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/void_semi_in_struct.c -------------------------------------------------------------------------------- /tests/error/void_type_in_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/void_type_in_struct.c -------------------------------------------------------------------------------- /tests/error/we_should_not_be_able_to_index_a_pointer_to_an_unresolved_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/error/we_should_not_be_able_to_index_a_pointer_to_an_unresolved_struct.c -------------------------------------------------------------------------------- /tests/linkage/array_initializer_is_in_different_file/header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/array_initializer_is_in_different_file/header.h -------------------------------------------------------------------------------- /tests/linkage/array_initializer_is_in_different_file/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/array_initializer_is_in_different_file/main.c -------------------------------------------------------------------------------- /tests/linkage/array_initializer_is_in_different_file/other.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/array_initializer_is_in_different_file/other.c -------------------------------------------------------------------------------- /tests/linkage/arrays_of_unknown_size_filled_in_in_first/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/arrays_of_unknown_size_filled_in_in_first/main.c -------------------------------------------------------------------------------- /tests/linkage/arrays_of_unknown_size_filled_in_in_first/other.c: -------------------------------------------------------------------------------- 1 | // skip 2 | extern char *names[]; 3 | -------------------------------------------------------------------------------- /tests/linkage/crt_and_dll/arst: -------------------------------------------------------------------------------- 1 | arst 2 | 3 | -------------------------------------------------------------------------------- /tests/linkage/crt_and_dll/opens_a_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/crt_and_dll/opens_a_file.c -------------------------------------------------------------------------------- /tests/linkage/crt_and_dll/reads_the_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/crt_and_dll/reads_the_file.c -------------------------------------------------------------------------------- /tests/linkage/dllexport_only_defined_in_one/header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/dllexport_only_defined_in_one/header.h -------------------------------------------------------------------------------- /tests/linkage/dllexport_only_defined_in_one/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/dllexport_only_defined_in_one/main.c -------------------------------------------------------------------------------- /tests/linkage/dllexport_only_defined_in_one/other.c: -------------------------------------------------------------------------------- 1 | // skip 2 | #include "header.h" 3 | 4 | void my_exported_function(){ 5 | } -------------------------------------------------------------------------------- /tests/linkage/dllimport_and_dllexport/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/dllimport_and_dllexport/main.c -------------------------------------------------------------------------------- /tests/linkage/dllimport_and_dllexport/other.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/dllimport_and_dllexport/other.dll -------------------------------------------------------------------------------- /tests/linkage/dllimport_and_dllexport/other.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/dllimport_and_dllexport/other.lib -------------------------------------------------------------------------------- /tests/linkage/locally_extern_declared_variable/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/locally_extern_declared_variable/main.c -------------------------------------------------------------------------------- /tests/linkage/locally_extern_declared_variable/other.c: -------------------------------------------------------------------------------- 1 | // skip 2 | int ext; 3 | -------------------------------------------------------------------------------- /tests/linkage/predefined_inline_asm_function/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/predefined_inline_asm_function/main.c -------------------------------------------------------------------------------- /tests/linkage/predefined_inline_asm_function/other.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/predefined_inline_asm_function/other.c -------------------------------------------------------------------------------- /tests/linkage/simple_static/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/simple_static/main.c -------------------------------------------------------------------------------- /tests/linkage/simple_static/other.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/simple_static/other.c -------------------------------------------------------------------------------- /tests/linkage/sizeof_array_of_unknown_size_which_gets_filled_in_other_compilation_unit/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/sizeof_array_of_unknown_size_which_gets_filled_in_other_compilation_unit/main.c -------------------------------------------------------------------------------- /tests/linkage/sizeof_array_of_unknown_size_which_gets_filled_in_other_compilation_unit/other.c: -------------------------------------------------------------------------------- 1 | // skip 2 | 3 | int array_of_unknown_size[10] = { 4 | 1,2,3,4,5,6,7,8,9,10 5 | }; 6 | -------------------------------------------------------------------------------- /tests/linkage/static_function_pointer_array_that_references_external_function/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/static_function_pointer_array_that_references_external_function/main.c -------------------------------------------------------------------------------- /tests/linkage/static_function_pointer_array_that_references_external_function/other.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/static_function_pointer_array_that_references_external_function/other.c -------------------------------------------------------------------------------- /tests/linkage/struct_literals_should_not_have_the_open_curly_as_their_symbol.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/struct_literals_should_not_have_the_open_curly_as_their_symbol.c -------------------------------------------------------------------------------- /tests/linkage/the_body_of_an_inline_extern_function_included_in_two_compilation_units_should_not_be_parsed_twice/file_one_which_includes_the_header.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/the_body_of_an_inline_extern_function_included_in_two_compilation_units_should_not_be_parsed_twice/file_one_which_includes_the_header.c -------------------------------------------------------------------------------- /tests/linkage/the_body_of_an_inline_extern_function_included_in_two_compilation_units_should_not_be_parsed_twice/file_two_which_includes_the_header.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/the_body_of_an_inline_extern_function_included_in_two_compilation_units_should_not_be_parsed_twice/file_two_which_includes_the_header.c -------------------------------------------------------------------------------- /tests/linkage/the_body_of_an_inline_extern_function_included_in_two_compilation_units_should_not_be_parsed_twice/header_with_an_inline_function_that_has_a_static_buffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/the_body_of_an_inline_extern_function_included_in_two_compilation_units_should_not_be_parsed_twice/header_with_an_inline_function_that_has_a_static_buffer.h -------------------------------------------------------------------------------- /tests/linkage/type_index_for_undefined_struct_as_argument_for_function_pointer/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/type_index_for_undefined_struct_as_argument_for_function_pointer/main.c -------------------------------------------------------------------------------- /tests/linkage/type_index_for_undefined_struct_as_argument_for_function_pointer/other.c: -------------------------------------------------------------------------------- 1 | // skip -------------------------------------------------------------------------------- /tests/linkage/uninitialized_dllexport_variable_should_be_automatic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/uninitialized_dllexport_variable_should_be_automatic.c -------------------------------------------------------------------------------- /tests/linkage/where_is_main/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/linkage/where_is_main/main.c -------------------------------------------------------------------------------- /tests/linkage/where_is_main/other.c: -------------------------------------------------------------------------------- 1 | // skip 2 | 3 | int main(){ 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /tests/run/_Bool.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/_Bool.c -------------------------------------------------------------------------------- /tests/run/__noop.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/__noop.c -------------------------------------------------------------------------------- /tests/run/alloca.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/alloca.c -------------------------------------------------------------------------------- /tests/run/array_designator_next_current_object.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/array_designator_next_current_object.c -------------------------------------------------------------------------------- /tests/run/array_of_unknown_size_compound_literal_current_object.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/array_of_unknown_size_compound_literal_current_object.c -------------------------------------------------------------------------------- /tests/run/array_of_unknown_size_is_never_filled_in.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/array_of_unknown_size_is_never_filled_in.c -------------------------------------------------------------------------------- /tests/run/arrays_and_logical_and.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/arrays_and_logical_and.c -------------------------------------------------------------------------------- /tests/run/arrays_of_unknown_size_initialized_by_string_literals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/arrays_of_unknown_size_initialized_by_string_literals.c -------------------------------------------------------------------------------- /tests/run/assigning_to_a_function_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/assigning_to_a_function_pointer.c -------------------------------------------------------------------------------- /tests/run/big_return_type_and_first_float_argument.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/big_return_type_and_first_float_argument.c -------------------------------------------------------------------------------- /tests/run/bitfield_arguments_to_local_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/bitfield_arguments_to_local_function.c -------------------------------------------------------------------------------- /tests/run/bitfields.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/bitfields.c -------------------------------------------------------------------------------- /tests/run/byteswaps.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/byteswaps.c -------------------------------------------------------------------------------- /tests/run/cast_to_float_in_initializer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/cast_to_float_in_initializer.c -------------------------------------------------------------------------------- /tests/run/check_AddressOfReturnAddress_using_dbghelp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/check_AddressOfReturnAddress_using_dbghelp.c -------------------------------------------------------------------------------- /tests/run/checking_predefines_from_the_commandline.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/checking_predefines_from_the_commandline.c -------------------------------------------------------------------------------- /tests/run/comma_expression_that_end_in_a_function_should_still_evaluate_their_lhs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/comma_expression_that_end_in_a_function_should_still_evaluate_their_lhs.c -------------------------------------------------------------------------------- /tests/run/comparing_double_to_float_literal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/comparing_double_to_float_literal.c -------------------------------------------------------------------------------- /tests/run/conditional_with_u32_and_u64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/conditional_with_u32_and_u64.c -------------------------------------------------------------------------------- /tests/run/constant_condition_in_conditional_expression.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/constant_condition_in_conditional_expression.c -------------------------------------------------------------------------------- /tests/run/constant_logical_or_and_exit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/constant_logical_or_and_exit.c -------------------------------------------------------------------------------- /tests/run/deref_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/deref_call.c -------------------------------------------------------------------------------- /tests/run/dllimport_in_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/dllimport_in_function.c -------------------------------------------------------------------------------- /tests/run/do_while_false.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/do_while_false.c -------------------------------------------------------------------------------- /tests/run/empty_data_section.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/empty_data_section.c -------------------------------------------------------------------------------- /tests/run/empty_program_no_debug_has_no_rdata.c: -------------------------------------------------------------------------------- 1 | // compile -nodebug 2 | // run 3 | 4 | int _start(){ return 0; } 5 | -------------------------------------------------------------------------------- /tests/run/float_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/float_test.c -------------------------------------------------------------------------------- /tests/run/function_returns_a_function_ptr_returns_a_funtion_pointer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/function_returns_a_function_ptr_returns_a_funtion_pointer.c -------------------------------------------------------------------------------- /tests/run/function_that_is_only_referenced_by_a_global_declaration.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/function_that_is_only_referenced_by_a_global_declaration.c -------------------------------------------------------------------------------- /tests/run/handle_escaped_percent_correctly_in_printlike_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/handle_escaped_percent_correctly_in_printlike_function.c -------------------------------------------------------------------------------- /tests/run/hex_escape_sequences_and_character_literal_sizes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/hex_escape_sequences_and_character_literal_sizes.c -------------------------------------------------------------------------------- /tests/run/if_on_bitfield.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/if_on_bitfield.c -------------------------------------------------------------------------------- /tests/run/implicit_return_zero_for_main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/implicit_return_zero_for_main.c -------------------------------------------------------------------------------- /tests/run/implicitly_dllimport_functions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/implicitly_dllimport_functions.c -------------------------------------------------------------------------------- /tests/run/implicitly_initializing_trailing_array_member_with_struct_literal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/implicitly_initializing_trailing_array_member_with_struct_literal.c -------------------------------------------------------------------------------- /tests/run/inc_dec_Bool.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/inc_dec_Bool.c -------------------------------------------------------------------------------- /tests/run/increment_and_decrement_on_an_empty_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/increment_and_decrement_on_an_empty_struct.c -------------------------------------------------------------------------------- /tests/run/initialized_array_of_unions_containing_just_a_flexible_array_member.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/initialized_array_of_unions_containing_just_a_flexible_array_member.c -------------------------------------------------------------------------------- /tests/run/initialized_flexible_array_members.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/initialized_flexible_array_members.c -------------------------------------------------------------------------------- /tests/run/initializer_of_struct_which_contains_unnamed_member.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/initializer_of_struct_which_contains_unnamed_member.c -------------------------------------------------------------------------------- /tests/run/initializers_need_to_patch_outer_type_as_well.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/initializers_need_to_patch_outer_type_as_well.c -------------------------------------------------------------------------------- /tests/run/initializing_with_struct_literal_at_global_scope.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/initializing_with_struct_literal_at_global_scope.c -------------------------------------------------------------------------------- /tests/run/integer_promotion_for_unary_operators_on_integer_literals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/integer_promotion_for_unary_operators_on_integer_literals.c -------------------------------------------------------------------------------- /tests/run/intrinsic_argument_to_varargs_procedure.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/intrinsic_argument_to_varargs_procedure.c -------------------------------------------------------------------------------- /tests/run/intrinsic_function_argument.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/intrinsic_function_argument.c -------------------------------------------------------------------------------- /tests/run/intrinsic_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/intrinsic_test.c -------------------------------------------------------------------------------- /tests/run/jnz.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/jnz.c -------------------------------------------------------------------------------- /tests/run/local_extern_compound.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/local_extern_compound.c -------------------------------------------------------------------------------- /tests/run/local_function_declaration_later_function_definition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/local_function_declaration_later_function_definition.c -------------------------------------------------------------------------------- /tests/run/local_variable_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/local_variable_test.c -------------------------------------------------------------------------------- /tests/run/logical_and_logical_or_and_bitfields.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/logical_and_logical_or_and_bitfields.c -------------------------------------------------------------------------------- /tests/run/lzcnt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/lzcnt.c -------------------------------------------------------------------------------- /tests/run/member_offset_in_initializer_of_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/member_offset_in_initializer_of_array.c -------------------------------------------------------------------------------- /tests/run/minus_one_pointer_literal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/minus_one_pointer_literal.c -------------------------------------------------------------------------------- /tests/run/minus_zero.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/minus_zero.c -------------------------------------------------------------------------------- /tests/run/negative_subscript.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/negative_subscript.c -------------------------------------------------------------------------------- /tests/run/octal_const.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/octal_const.c -------------------------------------------------------------------------------- /tests/run/oddly_sized_struct_types.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/oddly_sized_struct_types.c -------------------------------------------------------------------------------- /tests/run/offsets_on_anonymous_substructs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/offsets_on_anonymous_substructs.c -------------------------------------------------------------------------------- /tests/run/packed.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/packed.c -------------------------------------------------------------------------------- /tests/run/patches_into_flexible_array_member.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/patches_into_flexible_array_member.c -------------------------------------------------------------------------------- /tests/run/pointer_arithmetic_incorrect_order.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/pointer_arithmetic_incorrect_order.c -------------------------------------------------------------------------------- /tests/run/pointer_arithmetic_with_minus_one.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/pointer_arithmetic_with_minus_one.c -------------------------------------------------------------------------------- /tests/run/pointers_to_arrays_of_unknown_size.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/pointers_to_arrays_of_unknown_size.c -------------------------------------------------------------------------------- /tests/run/pragma_push_pack.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/pragma_push_pack.c -------------------------------------------------------------------------------- /tests/run/preinc_predec_floats.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/preinc_predec_floats.c -------------------------------------------------------------------------------- /tests/run/preinc_u8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/preinc_u8.c -------------------------------------------------------------------------------- /tests/run/printlike.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/printlike.c -------------------------------------------------------------------------------- /tests/run/readme.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/readme.c -------------------------------------------------------------------------------- /tests/run/redeclaring_in_same_scope_and_regrowing_the_declaration_table.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/redeclaring_in_same_scope_and_regrowing_the_declaration_table.c -------------------------------------------------------------------------------- /tests/run/return_address.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/return_address.c -------------------------------------------------------------------------------- /tests/run/returning_al_from_inline_asm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/returning_al_from_inline_asm.c -------------------------------------------------------------------------------- /tests/run/small_dumb_intrinsics_test_for_return_values.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/small_dumb_intrinsics_test_for_return_values.c -------------------------------------------------------------------------------- /tests/run/stacktrace.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/stacktrace.c -------------------------------------------------------------------------------- /tests/run/static_address_of_static_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/static_address_of_static_variable.c -------------------------------------------------------------------------------- /tests/run/static_array_addresses_and_math.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/static_array_addresses_and_math.c -------------------------------------------------------------------------------- /tests/run/static_initializers_to_string_literal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/static_initializers_to_string_literal.c -------------------------------------------------------------------------------- /tests/run/static_reference_of_dll_import_function_needs_stub_compile_to_object.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/static_reference_of_dll_import_function_needs_stub_compile_to_object.c -------------------------------------------------------------------------------- /tests/run/static_reference_of_dllimport_function_needs_stub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/static_reference_of_dllimport_function_needs_stub.c -------------------------------------------------------------------------------- /tests/run/string_initializer_in_function.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/string_initializer_in_function.c -------------------------------------------------------------------------------- /tests/run/string_literal_in_compound_initialier_in_compound_initializer_overwrote_future_string_literals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/string_literal_in_compound_initialier_in_compound_initializer_overwrote_future_string_literals.c -------------------------------------------------------------------------------- /tests/run/stringify_tests.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/stringify_tests.c -------------------------------------------------------------------------------- /tests/run/subscripting_string_literals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/subscripting_string_literals.c -------------------------------------------------------------------------------- /tests/run/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/test.c -------------------------------------------------------------------------------- /tests/run/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/test.h -------------------------------------------------------------------------------- /tests/run/test_unicode_in_string_literals.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/test_unicode_in_string_literals.c -------------------------------------------------------------------------------- /tests/run/the_infinite_function_call.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/the_infinite_function_call.c -------------------------------------------------------------------------------- /tests/run/tls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/tls.c -------------------------------------------------------------------------------- /tests/run/using_array_compound_literals_to_initialize_struct_members.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/using_array_compound_literals_to_initialize_struct_members.c -------------------------------------------------------------------------------- /tests/run/using_the_size_of_an_array_of_unknown_size_before_it_is_filled_in.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/using_the_size_of_an_array_of_unknown_size_before_it_is_filled_in.c -------------------------------------------------------------------------------- /tests/run/varargs_with_floating_point_immediate.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/varargs_with_floating_point_immediate.c -------------------------------------------------------------------------------- /tests/run/we_have_to_have_a_pre_main_file_even_for_main_without_arguments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/run/we_have_to_have_a_pre_main_file_even_for_main_without_arguments.c -------------------------------------------------------------------------------- /tests/stdlib/setjmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/stdlib/setjmp.c -------------------------------------------------------------------------------- /tests/stdlib/stdatomic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/stdlib/stdatomic.c -------------------------------------------------------------------------------- /tests/stdlib/stddef.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/stdlib/stddef.c -------------------------------------------------------------------------------- /tests/stdlib/using_strdup_from_oldnames.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PascalBeyer/Headerless-C-Compiler/HEAD/tests/stdlib/using_strdup_from_oldnames.c --------------------------------------------------------------------------------