0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test/behavior
Matthew Lugg 274fd8a569 llvm,Elf: fix strong exports overriding weak exports
Partially resolves https://codeberg.org/ziglang/zig/issues/36986, but
does not folly resolve it---the bug still exists in the C backend and
the self-hosted WASM and Mach-O linkers.
History 2026-10-16 23:46:22 +02:00
..
conflicting_externs categorize behavior/bugs/<issueno>.zig tests 2024-01-06 16:49:41 -08:00
hasdecl move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
import move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
namespace_depends_on_compile_var move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
pub_enum move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
x86_64 x86_64: fix reduce evaluation order 2026-10-13 09:47:51 +02:00
zon LowerZon: fix packed containers 2026-05-02 20:05:33 +02:00
abs.zig cbe: update for compiler_rt abi changes 2026-07-27 14:35:12 -04:00
addrspace_and_linksection.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
align.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
alignof.zig tests: add new tests 2026-03-10 11:28:36 +00:00
array.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
asm.zig tests: update for new @bitCast semantics 2026-06-24 10:20:56 +01:00
atomics.zig tests: update for new @bitCast semantics 2026-06-24 10:20:56 +01:00
backing_int.zig test: skip failing behavior tests for spirv 2026-08-26 08:13:06 +03:30
basic.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
bit_shifting.zig cbe: update for compiler_rt abi changes 2026-07-27 14:35:12 -04:00
bitcast.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
bitreverse.zig stage2-wasm: vector, std tests 2026-04-22 00:19:46 +02:00
bool.zig spirv: int/bool fixes 2026-06-18 13:38:58 +02:00
builtin_functions_returning_void_or_noreturn.zig stage2-wasm: linker emit obj + fixes/hacks 2026-07-28 22:42:11 +02:00
byteswap.zig stage2-wasm: vector, std tests 2026-04-22 00:19:46 +02:00
byval_arg_var.zig rename spirv backend name 2025-06-16 13:22:19 +03:30
call.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
cast.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
cast_int.zig cbe: update for compiler_rt abi changes 2026-07-27 14:35:12 -04:00
comptime_memory.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
const_slice_child.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
decl_literals.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
decltest.zig riscv: math progress 2024-05-11 02:17:24 -07:00
defer.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
destructure.zig AstGen: fix alloc in comptime destructure 2026-08-20 21:49:32 +02:00
duplicated_test_names.zig spirv: int/bool fixes 2026-06-18 13:38:58 +02:00
enum.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
error.zig Type: fix vector size mismatch vs clang 2026-10-08 01:15:20 +02:00
eval.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
export_builtin.zig remove internal and link_once global linkages 2026-09-26 19:12:48 +02:00
export_c_keywords.zig lib,test,tools,doc: update usages of @export 2024-08-27 00:44:35 +01:00
export_keyword.zig Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
export_self_referential_type_info.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
extern.zig llvm,Elf: fix strong exports overriding weak exports 2026-10-16 23:46:22 +02:00
extern_struct_zero_size_fields.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
field_parent_ptr.zig llvm: enable passing tests 2026-07-27 14:44:41 -04:00
file_to_embed.txt rename behavior test to better describe what it does 2023-10-23 17:28:10 -07:00
floatop.zig test-behavior: re-enable float vector cmp tests on powerpc64 2026-10-07 00:30:52 +02:00
fn.zig stage2-wasm: linker emit obj + fixes/hacks 2026-07-28 22:42:11 +02:00
fn_delegation.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
fn_in_struct_in_comptime.zig rename spirv backend name 2025-06-16 13:22:19 +03:30
for.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
generics.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
globals.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
hasdecl.zig Make @hasDecl return true only for public declarations 2026-08-27 23:47:13 +02:00
hasfield.zig Sema: make @hasField support tuples too 2022-03-11 12:59:20 -07:00
if.zig Sema: account for inlined blocks in comptime break 2026-10-10 00:18:27 +02:00
import.zig spirv: int/bool fixes 2026-06-18 13:38:58 +02:00
import_c_keywords.zig Coff2: create a new linker from scratch 2025-10-02 17:44:52 -04:00
incomplete_struct_param_tld.zig test: skip failing/crashing behavior tests for spirv backend 2026-06-14 09:11:59 +02:00
inline_switch.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
int128.zig std.lang: rename OptimizeMode to Optimize 2026-07-20 17:26:50 -07:00
int_comparison_elision.zig lib,test: remove uses of i0 2026-04-30 08:57:51 +01:00
ir_block_deps.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
lower_strlit_to_vector.zig stage2-wasm: vector, std tests 2026-04-22 00:19:46 +02:00
math.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
maximum_minimum.zig cbe: update for compiler_rt abi changes 2026-07-27 14:35:12 -04:00
member_func.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
memcpy.zig x86_64: fix memset of global slice 2026-09-18 00:48:40 -04:00
memmove.zig x86_64: fix memset of global slice 2026-09-18 00:48:40 -04:00
memset.zig x86_64: fix memset of global slice 2026-09-18 00:48:40 -04:00
merge_error_sets.zig spirv: implement switch with ranges and loop_switch_br switch_dispatch 2026-06-18 13:38:58 +02:00
muladd.zig cbe: update for compiler_rt abi changes 2026-07-27 14:35:12 -04:00
multiple_externs_with_conflicting_types.zig test: skip failing/crashing behavior tests for spirv backend 2026-06-14 09:11:59 +02:00
namespace_depends_on_compile_var.zig spirv: int/bool fixes 2026-06-18 13:38:58 +02:00
nan.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
null.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
optional.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
overlapping_assign.zig test: unskip 72 passing behavior tests for spirv backend 2026-07-05 14:47:00 +03:30
packed-struct.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
packed-union.zig test: skip failing behavior tests for spirv 2026-08-26 08:13:06 +03:30
packed_struct_explicit_backing_int.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
pointers.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
popcount.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
prefetch.zig remove various workarounds for issues that are now fixed (#31567) 2026-03-20 19:58:33 +01:00
ptrcast.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
ptrfromint.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
pub_enum.zig spirv: int/bool fixes 2026-06-18 13:38:58 +02:00
ref_var_in_if_after_if_2nd_switch_prong.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
reflection.zig all: update to use new std.lang.Type definitions 2026-05-27 10:03:51 +01:00
return_address.zig aarch64: implement some safety checks 2025-07-26 17:31:04 -04:00
saturating_arithmetic.zig cbe: update for compiler_rt abi changes 2026-07-27 14:35:12 -04:00
select.zig Sema: handle OPV types in zirSelect and analyzeShuffle 2026-08-08 10:21:31 +02:00
shuffle.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
sizeof_and_typeof.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
slice.zig AstGen: give result type to slice by length sentinel 2026-10-10 00:27:07 +02:00
slice_sentinel_comptime.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
spirv.zig spirv: reject unrepresentable pointer casts and operations 2026-08-26 08:13:06 +03:30
splat.zig Legalize: gate the one-element splat bitcast on its feature 2026-10-02 08:57:33 +02:00
src.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
string_literals.zig test: skip failing behavior tests for spirv 2026-08-26 08:13:06 +03:30
struct.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
struct_contains_null_ptr_itself.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
struct_contains_slice_of_itself.zig behavior: update for type resolution changes 2026-03-10 10:26:11 +00:00
switch.zig test: add regression test for #36732 2026-10-03 15:21:28 +08:00
switch_loop.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
switch_on_captured_error.zig compiler_rt: change float abi so it can become compatible with cbe 2026-07-27 14:35:12 -04:00
switch_prong_err_enum.zig test: skip failing/crashing behavior tests for spirv backend 2026-06-14 09:11:59 +02:00
switch_prong_implicit_cast.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
this.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
threadlocal.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
truncate.zig cbe: update for compiler_rt abi changes 2026-07-27 14:35:12 -04:00
try.zig Sema: copy alignment for try pointer expression 2026-06-18 16:42:32 +02:00
tuple.zig spirv: correctly map struct field indices to emitted member 2026-09-18 16:36:24 +03:30
tuple_declarations.zig all: update to use new std.lang.Type definitions 2026-05-27 10:03:51 +01:00
type.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
type_info.zig spirv: fix vector casts, packed field pointers and debug names of comptime-known values (#37040) 2026-10-04 11:50:49 +02:00
typename.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
undefined.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
underscore.zig riscv: std.fmt.format running 2024-06-13 02:20:47 -07:00
union.zig Merge pull request 'InternPool: inherit captures from owner union in generated enums' (#37043) from pentuppup/zig:push-srptskmumtto into master 2026-10-10 00:20:25 +02:00
var_args.zig stage2-wasm: support varargs 2026-07-01 23:58:49 +02:00
vector.zig add unskip_spirv_tests.zig tool 2026-09-18 16:36:24 +03:30
void.zig remove uses of array multiplication 2026-04-30 08:57:51 +01:00
wasm.zig stage2-wasm: support assembly 2026-04-15 22:57:41 +02:00
while.zig test: move strip_empty_loop from test-standalone to test-behavior 2026-10-10 08:36:07 +02:00
widening.zig llvm: enable passing tests 2026-07-27 14:44:41 -04:00
wrapping_arithmetic.zig spirv: composite integers 2026-06-18 13:38:58 +02:00
x86_64.zig x86_64: increase passing test coverage on windows 2025-06-19 18:41:12 -04:00
zero.bin Module: fix @embedFile of files containing zero bytes 2024-02-22 12:33:53 -08:00
zon.zig all: update to use new std.lang.Type definitions 2026-05-27 10:03:51 +01:00