diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-02-28 18:22:43 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-02-28 18:22:43 -0500 |
| commit | 58dc2b719c8e5a13c91ebbbbf476998c7f3e925b (patch) | |
| tree | 34ae2eb4d0624b69045ae79f23716357d0b2393b /test/behavior.zig | |
| parent | ad2a29ccf25af189fc180cba6843c20b9dd029d1 (diff) | |
| download | zig-58dc2b719c8e5a13c91ebbbbf476998c7f3e925b.tar.gz zig-58dc2b719c8e5a13c91ebbbbf476998c7f3e925b.zip | |
better coroutine codegen, now passing first coro test
we have to use the Suspend block with llvm.coro.end to
return from the coro
Diffstat (limited to 'test/behavior.zig')
| -rw-r--r-- | test/behavior.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/behavior.zig b/test/behavior.zig index e718ba6c86..81f2c5dd00 100644 --- a/test/behavior.zig +++ b/test/behavior.zig @@ -11,6 +11,7 @@ comptime { _ = @import("cases/bugs/656.zig"); _ = @import("cases/cast.zig"); _ = @import("cases/const_slice_child.zig"); + _ = @import("cases/coroutines.zig"); _ = @import("cases/defer.zig"); _ = @import("cases/enum.zig"); _ = @import("cases/enum_with_members.zig"); @@ -34,8 +35,8 @@ comptime { _ = @import("cases/sizeof_and_typeof.zig"); _ = @import("cases/slice.zig"); _ = @import("cases/struct.zig"); - _ = @import("cases/struct_contains_slice_of_itself.zig"); _ = @import("cases/struct_contains_null_ptr_itself.zig"); + _ = @import("cases/struct_contains_slice_of_itself.zig"); _ = @import("cases/switch.zig"); _ = @import("cases/switch_prong_err_enum.zig"); _ = @import("cases/switch_prong_implicit_cast.zig"); |
