zig/test/behavior
Andrew Kelley c4df9bf56f AstGen: fix while and for with unreachable bodies
Companion commit to 61a53a5875.

This commit also moves over a bunch of behavior test cases to the
passing-for-stage2 section.
2021-10-02 20:15:03 -07:00
..
bugs Spelling corrections (#9833) 2021-09-24 13:39:20 -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 std: fix regressions from this branch 2021-09-01 17:54:07 -07:00
align.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
alignof.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
array_stage1.zig Spelling corrections (#9833) 2021-09-24 13:39:20 -04:00
array.zig stage2: emit Value.repeated for ** where the array size is one 2021-10-01 16:46:28 -04:00
asm.zig zig fmt: respect trailing commas in inline assembly 2021-08-29 11:57:32 +02:00
async_fn.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
atomics.zig stage2: improve handling of 0 bit types 2021-09-20 16:48:42 -07:00
await_struct.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
basic.zig stage2: implement @memset and @memcpy builtins 2021-09-24 17:33:06 -07:00
bit_shifting.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
bitcast.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
bitreverse.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
bool.zig Sema: implement comptime variables 2021-08-01 12:36:04 -07:00
byteswap.zig re-enable mips behavior tests for vectors 2021-09-01 15:41:29 -07:00
byval_arg_var.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
call_stage1.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
call.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
cast_stage1.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
cast.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
comptime_memory.zig Add comptime memory tests 2021-08-30 18:50:07 -04:00
const_slice_child.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
defer_stage1.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
defer.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
enum_stage1.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
enum.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
error.zig stage1: remove incorrect compile error for var redeclaration 2021-08-24 22:35:37 -07:00
eval_stage1.zig Stage 2: Support inst.func() syntax (#9827) 2021-09-28 12:00:35 -05:00
eval.zig Stage 2: Support inst.func() syntax (#9827) 2021-09-28 12:00:35 -05:00
field_parent_ptr.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
floatop.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
fn_delegation.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07: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
fn.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
for_stage1.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
for.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
generics_stage1.zig Stage 2: Support inst.func() syntax (#9827) 2021-09-28 12:00:35 -05:00
generics.zig Stage 2: Support inst.func() syntax (#9827) 2021-09-28 12:00:35 -05: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_stage1.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
if.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
import.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
incomplete_struct_param_tld.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
inttoptr.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
ir_block_deps.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
math_stage1.zig stage2: implement @clz and @ctz 2021-09-28 22:38:51 -07:00
math.zig stage2: implement @clz and @ctz 2021-09-28 22:38:51 -07:00
maximum_minimum.zig minimum/maximum builtins 2021-07-26 20:41:00 -04:00
member_func.zig Stage 2: Support inst.func() syntax (#9827) 2021-09-28 12:00:35 -05:00
merge_error_sets.zig move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
misc.zig stage2: implement @memset and @memcpy builtins 2021-09-24 17:33:06 -07:00
muladd.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
namespace_depends_on_compile_var.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
null.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
optional.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
pointers_stage1.zig stage2: pass some pointer tests 2021-08-07 15:46:53 -07:00
pointers.zig stage2: pass some pointer tests 2021-08-07 15:46:53 -07:00
popcount.zig re-enable mips behavior tests for vectors 2021-09-01 15:41:29 -07:00
ptrcast.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -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 Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
reflection.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
saturating_arithmetic.zig saturating arithmetic modifications 2021-09-28 19:19:28 -07: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_stage1.zig stage2: various fixes to cImport, sizeOf and types to get tests passing 2021-09-20 20:51:31 -07:00
sizeof_and_typeof.zig stage2: various fixes to cImport, sizeOf and types to get tests passing 2021-09-20 20:51:31 -07:00
slice_sentinel_comptime.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
slice.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
src.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
struct_contains_null_ptr_itself.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -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
struct_stage1.zig stage2: LLVM backend: implement struct type fwd decls 2021-09-29 14:04:52 -07:00
struct.zig stage2: LLVM backend: implement struct type fwd decls 2021-09-29 14:04:52 -07:00
switch_prong_err_enum.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
switch_prong_implicit_cast.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
switch_stage1.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
switch.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
this.zig Stage2: Implement comptime closures and the This builtin (#9823) 2021-09-23 13:17:06 -04:00
translate_c_macros_stage1.zig stage2: various fixes to cImport, sizeOf and types to get tests passing 2021-09-20 20:51:31 -07:00
translate_c_macros.h translate-c: handle macros that cast to cv void 2021-08-06 09:10:50 +03:00
translate_c_macros.zig stage2: various fixes to cImport, sizeOf and types to get tests passing 2021-09-20 20:51:31 -07:00
truncate.zig Fix unexpected truncation behavior with comptime_int larger than u64 range (#9303) 2021-07-06 12:42:18 +03:00
try.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
tuple.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
type_info.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
type.zig Address Spaces: Pointer and function info in @Type 2021-09-20 02:29:04 +02:00
typename.zig stage1: fix anon struct naming in certain cases 2021-07-28 18:17:11 -04:00
undefined.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
underscore.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
union_stage1.zig stage2: implement union coercion to its own tag 2021-09-27 23:11:00 -07:00
union_with_members.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
union.zig stage2: implement union coercion to its own tag 2021-09-27 23:11:00 -07:00
usingnamespace_stage1.zig std: fix regressions from this branch 2021-09-01 17:54:07 -07:00
usingnamespace.zig stage2: first pass at implementing usingnamespace 2021-09-01 17:54:06 -07:00
var_args.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
vector.zig Spelling corrections (#9833) 2021-09-24 13:39:20 -04:00
void.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
wasm.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-08 14:45:21 -07:00
while_stage1.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
while.zig AstGen: fix while and for with unreachable bodies 2021-10-02 20:15:03 -07:00
widening.zig stage2: progress towards ability to compile compiler-rt 2021-09-21 23:21:07 -07:00