0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test/behavior
History 2023-05-24 14:29:15 +03:00
..
bugs x86_64: rewrite casts 2023-05-18 20:42:38 -04: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
usingnamespace stage2: sparc64: Skip unimplemented tests 2022-12-10 21:51:46 +07:00
align.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
alignof.zig stage2 AArch64: unify callee-preserved regs on all targets 2022-12-27 21:17:52 +08:00
array.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
asm.zig spirv: customize module-scope asm test 2023-05-20 17:30:22 +02:00
async_fn.zig remove references to stage1 in behavior tests 2022-12-06 19:06:48 -07:00
atomics.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
await_struct.zig remove references to stage1 in behavior tests 2022-12-06 19:06:48 -07:00
basic.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
bit_shifting.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
bitcast.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
bitreverse.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
bool.zig make @boolToInt always return a u1 2023-05-24 00:01:48 +00:00
builtin_functions_returning_void_or_noreturn.zig make @trap return unreachable/noreturn (#15749) 2023-05-18 17:00:35 -04:00
byteswap.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
byval_arg_var.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
call.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
cast.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
cast_int.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
comptime_memory.zig Disallow named test decls with duplicate names 2023-05-08 10:59:06 +03:00
const_slice_child.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
decltest.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
defer.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
duplicated_test_names.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
empty_file_level_struct.zig fix overflow found while fuzzing 2022-12-23 23:10:04 +02:00
empty_file_level_union.zig fix overflow found while fuzzing 2022-12-23 23:10:04 +02:00
empty_tuple_fields.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
empty_union.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
enum.zig Merge pull request #15753 from Snektron/spirv-more-tests 2023-05-20 13:54:01 -07:00
error.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
eval.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
export.zig Sema: implement @export for arbitrary values 2023-03-21 15:04:39 +02:00
export_self_referential_type_info.zig behavior: fix redefined exports 2022-10-25 05:11:28 -04:00
field_parent_ptr.zig x86_64: fix field_ptr nonsense 2023-05-15 03:07:51 -04:00
floatop.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
fn.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
fn_delegation.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
fn_in_struct_in_comptime.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
for.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
generics.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
hasdecl.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
hasfield.zig Sema: make @hasField support tuples too 2022-03-11 12:59:20 -07:00
if.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
import.zig lint: duplicate import (#10519) 2022-01-07 00:06:06 -05:00
incomplete_struct_param_tld.zig stage2: sparc64: Skip unimplemented tests 2022-12-10 21:51:46 +07:00
inline_switch.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
int128.zig wasm: implement shl for big integers 2023-05-19 20:20:29 +02:00
int_comparison_elision.zig Dwarf: fix overflow write byte_size 2023-05-15 03:07:51 -04:00
int_div.zig x86_64: implement large cmp 2023-04-02 04:49:53 -04:00
inttoptr.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
ir_block_deps.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
lower_strlit_to_vector.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
math.zig Merge pull request #15753 from Snektron/spirv-more-tests 2023-05-20 13:54:01 -07:00
maximum_minimum.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
member_func.zig Zir: eliminate field_call_bind and field_call_bind_named 2023-05-20 12:27:48 -07:00
memcpy.zig Sema: @memcpy convert src slice to many ptr 2023-05-24 14:29:15 +03:00
memset.zig wasm: support memset for elem abi size > 1 2023-05-19 20:22:45 +02:00
merge_error_sets.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
muladd.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
namespace_depends_on_compile_var.zig CBE: enable more tests that are currently passing 2022-03-17 11:39:56 -07:00
null.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
optional.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
packed-struct.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
packed_struct_explicit_backing_int.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
pointers.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
popcount.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
prefetch.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
ptrcast.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
pub_enum.zig spirv: lower get_union_tag 2023-05-20 18:43:26 +03:30
ref_var_in_if_after_if_2nd_switch_prong.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
reflection.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
return_address.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
saturating_arithmetic.zig x86_64: implement saturating add/sub for weird types 2023-05-18 20:42:38 -04:00
select.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
shuffle.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
sizeof_and_typeof.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
slice.zig Merge pull request #15753 from Snektron/spirv-more-tests 2023-05-20 13:54:01 -07:00
slice_sentinel_comptime.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
src.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
struct.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
struct_contains_null_ptr_itself.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
struct_contains_slice_of_itself.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
switch.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
switch_prong_err_enum.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
switch_prong_implicit_cast.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
this.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
threadlocal.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
translate_c_macros.h Translate-C Remainder Macro Fix 2022-11-03 14:07:00 +02:00
translate_c_macros.zig x86_64: redo movement, float negation, and @fabs 2023-05-15 03:07:51 -04:00
translate_c_macros_not_utf8.h translate-c: Escape non-ASCII characters that appear in macros 2022-09-10 01:50:17 +03:00
truncate.zig x86_64: implement integer vector @truncate 2023-05-18 20:42:38 -04:00
try.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
tuple.zig x86_64: implement union_init 2023-05-15 03:07:51 -04:00
tuple_declarations.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
type.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
type_info.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
typename.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
undefined.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
underscore.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
union.zig spirv: more passing tests 2023-05-20 17:30:22 +02:00
union_with_members.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
usingnamespace.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
var_args.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
vector.zig codegen: emit global vector padding 2023-05-18 20:42:38 -04:00
void.zig setup spirv backend in behavior tests 2023-05-11 20:31:52 +02:00
wasm.zig stage2: cleanups to wasm memory intrinsics 2022-03-03 18:31:55 -07:00
while.zig spirv: ptr_elem_val 2023-05-20 17:30:23 +02:00
widening.zig x86_64: rewrite casts 2023-05-18 20:42:38 -04:00
wrapping_arithmetic.zig stage1: fix saturating arithmetic producing incorrect results on type comptime_int, allow saturating left shift on type comptime int 2022-01-29 18:12:28 +02:00