zig/test/cases
Andrew Kelley dc2df15528 add test case for all prongs unreachable in switch
See #43
2017-05-07 13:26:41 -04:00
..
import IR testing: rename cases3 dir to cases 2016-12-26 02:49:30 -05:00
namespace_depends_on_compile_var `@import("builtin")` instead of `@compileVar` 2017-05-01 13:12:38 -04:00
pub_enum organize std and make import relative to current file 2017-03-26 06:39:28 -04:00
array.zig introduce new test syntax 2017-03-16 16:02:35 -04:00
asm.zig `@import("builtin")` instead of `@compileVar` 2017-05-01 13:12:38 -04:00
atomics.zig `@import("builtin")` instead of `@compileVar` 2017-05-01 13:12:38 -04:00
bool.zig replace "&&" and "||" with "and" and "or" 2017-03-26 05:21:28 -04:00
cast.zig allow undefined to be resolved with other types 2017-05-01 22:37:34 -04:00
const_slice_child.zig change while syntax 2017-05-03 18:12:07 -04:00
defer.zig remove `?return` and `?defer` 2017-04-21 15:08:03 -04:00
enum.zig add enumTagName builtin function 2017-04-08 17:45:22 -04:00
enum_with_members.zig introduce new test syntax 2017-03-16 16:02:35 -04:00
error.zig new unreachable syntax 2017-03-26 04:58:48 -04:00
eval.zig change while syntax 2017-05-03 18:12:07 -04:00
field_parent_ptr.zig add `@fieldParentPtr` builtin function 2017-04-18 02:28:05 -04:00
fn.zig ability to inline at function callsite 2017-04-13 00:13:54 -04:00
for.zig new unreachable syntax 2017-03-26 04:58:48 -04:00
generics.zig rename `@ptrcast` to `@ptrCast` to follow convention 2017-04-21 10:39:13 -04:00
goto.zig new unreachable syntax 2017-03-26 04:58:48 -04:00
if.zig new unreachable syntax 2017-03-26 04:58:48 -04:00
import.zig organize std and make import relative to current file 2017-03-26 06:39:28 -04:00
incomplete_struct_param_tld.zig introduce copyable concept 2017-03-26 03:39:18 -04:00
ir_block_deps.zig introduce new test syntax 2017-03-16 16:02:35 -04:00
math.zig allow division and remainder operators sometimes 2017-05-06 23:59:57 -04:00
misc.zig builtin functions for division and remainder division 2017-05-06 23:13:12 -04:00
null.zig remove test and try expressions in favor of if expressions 2017-05-03 17:23:11 -04:00
ref_var_in_if_after_if_2nd_switch_prong.zig fix compiler crash when referencing a variable... 2017-05-02 12:59:09 -04:00
sizeof_and_typeof.zig Add @offsetOf builtin function 2017-04-20 11:53:00 +00:00
struct.zig rename `@ptrcast` to `@ptrCast` to follow convention 2017-04-21 10:39:13 -04:00
struct_contains_slice_of_itself.zig add peer type resolution `[]T` and `[0]T` 2017-04-30 12:21:24 -04:00
switch.zig add test case for all prongs unreachable in switch 2017-05-07 13:26:41 -04:00
switch_prong_err_enum.zig blocks check that their statements are void 2017-04-23 21:15:15 -07:00
switch_prong_implicit_cast.zig introduce new test syntax 2017-03-16 16:02:35 -04:00
this.zig introduce new test syntax 2017-03-16 16:02:35 -04:00
try.zig switch expression - add compile errors 2017-05-07 12:07:35 -04:00
undefined.zig introduce new test syntax 2017-03-16 16:02:35 -04:00
var_args.zig change while syntax 2017-05-03 18:12:07 -04:00
void.zig introduce new test syntax 2017-03-16 16:02:35 -04:00
while.zig implement else on loops and break can give an expression 2017-05-04 12:43:11 -04:00