0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test/behavior
Andrew Kelley 9f163310f2 stage2: improve Type.eql and Type.hash for error sets
* Reduce branching in Type.eql and Type.hash for error sets.
 * `Type.eql` uses element-wise bytes comparison since it can rely on
   the error sets being pre-sorted.
 * Avoid unnecessarily skipping tests that are passing.
History 2022-03-10 14:21:37 -07:00
..
bugs Sema: if generic function evaluates to another generic function call it inline 2022-03-10 13:04:55 +02: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 std: fix regressions from this branch 2021-09-01 17:54:07 -07:00
align.zig Sema: implement pointer to tuple to pointer to array coercion 2022-03-09 18:49:37 -07:00
alignof.zig x64: pass more behavior tests 2022-02-28 23:20:05 +01:00
array.zig Sema: implement pointer to tuple to pointer to array coercion 2022-03-09 18:49:37 -07:00
asm.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
async_fn.zig stage1, stage2: rename c_void to anyopaque (#10316) 2021-12-19 00:24:45 -05:00
atomics.zig disable failing atomicrmw test on llvm + aarch64 2022-01-18 21:25:22 -07:00
await_struct.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
basic.zig Sema: implement pointer to tuple to pointer to array coercion 2022-03-09 18:49:37 -07:00
bit_shifting.zig stage2 AArch64: Enable behavior testing 2022-02-14 22:33:01 +01:00
bitcast.zig stage2 AArch64: add more slice support 2022-03-05 11:31:51 +01:00
bitreverse.zig x64: pass more behavior tests 2022-02-28 23:20:05 +01:00
bool.zig C backend: fix @boolToInt 2021-10-28 17:33:05 -07:00
byteswap.zig Add backend-specific skips for bitreverse, byteswap tests 2022-02-18 14:28:32 -07:00
byval_arg_var.zig stage2 ARM: implement ret_load 2022-03-08 21:10:04 +01:00
call.zig stage2: implement builtin_call 2022-02-27 18:59:44 -05:00
cast.zig stage2: error_set_merged type equality 2022-03-10 14:20:16 -07:00
cast_int.zig wasm: Implement float_to_int 2022-01-10 21:01:00 +01:00
comptime_memory.zig stage2: type system treats fn ptr and body separately 2022-01-24 21:47:53 -07:00
const_slice_child.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
decltest.zig stage2: add decltests 2022-02-13 14:42:20 +02:00
defer.zig stage2 ARM: implement ret_load 2022-03-08 21:10:04 +01:00
enum.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
error.zig stage2: improve Type.eql and Type.hash for error sets 2022-03-10 14:21:37 -07:00
eval.zig stage2 sema: Implement comptime result for comparison of uint to comptime value 2022-02-27 02:24:28 -07:00
export.zig Sema: implement zirStructInit is_ref=true union 2022-03-10 20:00:07 +02:00
export_self_referential_type_info.zig stage2: fix mem{set,cpy} for non comptime mutable pointers 2022-03-08 11:23:38 +02:00
field_parent_ptr.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
floatop.zig stage2 AArch64: add more slice support 2022-03-05 11:31:51 +01:00
fn.zig stage2 AArch64: add more slice support 2022-03-05 11:31:51 +01:00
fn_delegation.zig stage2 AArch64: Enable behavior testing 2022-02-14 22:33:01 +01:00
fn_in_struct_in_comptime.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
for.zig Sema: fix crash with @sizeOf on unions 2022-03-09 16:02:42 -07:00
generics.zig stage2 ARM: implement ret_load 2022-03-08 21:10:04 +01:00
hasdecl.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
hasfield.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
if.zig stage2 AArch64: add more slice support 2022-03-05 11:31:51 +01:00
import.zig lint: duplicate import (#10519) 2022-01-07 00:06:06 -05:00
incomplete_struct_param_tld.zig stage2 ARM: implement ret_load 2022-03-08 21:10:04 +01:00
int128.zig remove zig_is_stage2 from @import("builtin") 2022-01-17 21:55:49 -07:00
int_div.zig add integer division tests 2022-02-19 14:24:03 +01:00
inttoptr.zig stage2 AArch64: add more slice support 2022-03-05 11:31:51 +01:00
ir_block_deps.zig x64: pass more behavior tests 2022-02-28 23:20:05 +01:00
math.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
maximum_minimum.zig stage2: implement @minimum and @maximum, including vectors 2021-10-14 21:17:30 -07:00
member_func.zig Port more behavior tests 2022-02-22 21:57:42 +01:00
merge_error_sets.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
muladd.zig disable failing @mulAdd test 2022-03-06 16:18:51 -07:00
namespace_depends_on_compile_var.zig x64: pass more behavior tests 2022-02-28 23:20:05 +01:00
null.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
optional.zig stage2 llvm: Lower 0-bit field-ptr as ptr-to-void 2022-03-03 13:08:14 -07:00
pointers.zig stage2: sentinel array init must add sentinel to array value 2022-03-08 12:05:12 -08:00
popcount.zig stage2: implement @popCount for SIMD vectors 2022-02-12 20:44:30 -07:00
prefetch.zig stage1: implement @prefetch() builtin 2021-12-11 00:29:31 +01:00
ptrcast.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
pub_enum.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
ref_var_in_if_after_if_2nd_switch_prong.zig Port more behavior tests 2022-02-22 21:57:42 +01:00
reflection.zig LLVM: add extra padding to structs and tuples sometimes 2022-03-01 18:24:00 -07:00
saturating_arithmetic.zig stage1: fix comptime saturation subtraction 2022-02-15 10:40:53 +02:00
select.zig Add @select 2021-07-26 20:05:48 -04:00
shuffle.zig re-enable mips behavior tests for vectors 2021-09-01 15:41:29 -07:00
sizeof_and_typeof.zig Sema: fix crash with @sizeOf on unions 2022-03-09 16:02:42 -07:00
slice.zig Sema: implement pointer to tuple to pointer to array coercion 2022-03-09 18:49:37 -07:00
slice_sentinel_comptime.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
src.zig stage2: introduce anonymous struct literals 2022-03-01 23:46:57 -07:00
struct.zig Sema: implement pointer to tuple to pointer to array coercion 2022-03-09 18:49:37 -07:00
struct_contains_null_ptr_itself.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
struct_contains_slice_of_itself.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
switch.zig wasm: Implement fpext 2022-03-09 13:53:10 -07:00
switch_prong_err_enum.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
switch_prong_implicit_cast.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
this.zig stage2 AArch64: add more slice support 2022-03-05 11:31:51 +01:00
translate_c_macros.h translate-c: use nested scope for comma operator in macros 2022-03-08 20:38:51 +02:00
translate_c_macros.zig Sema: fix generic fn instantiation with anytype 2022-03-09 15:35:13 -07:00
truncate.zig stage2 AArch64: add more slice support 2022-03-05 11:31:51 +01:00
try.zig stage2 AArch64: add more slice support 2022-03-05 11:31:51 +01:00
tuple.zig Sema: implement pointer-to-tuple coercion to slice and struct 2022-03-09 17:33:01 -07:00
type.zig deprecated TypeInfo in favor of Type 2022-03-08 20:38:12 +02:00
type_info.zig stage2: improve Type.eql and Type.hash for error sets 2022-03-10 14:21:37 -07:00
typename.zig stage1: fix anon struct naming in certain cases 2021-07-28 18:17:11 -04:00
undefined.zig stage2 ARM: enable more behavior tests 2022-02-27 21:38:56 +01:00
underscore.zig x64: pass more behavior tests 2022-02-28 23:20:05 +01:00
union.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
union_with_members.zig Sema: improve union support 2021-12-28 20:20:30 -07:00
usingnamespace.zig stage2 ARM: implement ret_load 2022-03-08 21:10:04 +01:00
var_args.zig wasm: Enable passing behavior tests 2022-03-09 13:53:20 -07:00
vector.zig migrate from std.Target.current to @import("builtin").target 2021-10-04 23:48:55 -07:00
void.zig stage2 ARM: enable more behavior tests 2022-02-27 21:38:56 +01:00
wasm.zig stage2: cleanups to wasm memory intrinsics 2022-03-03 18:31:55 -07:00
while.zig Sema: implement pointer to tuple to pointer to array coercion 2022-03-09 18:49:37 -07:00
widening.zig add behavior tests for f80 2022-01-28 11:45:04 -07: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