mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
parent
da5f3d5c4c
commit
9366a58bdd
@ -66,6 +66,11 @@ async fn testSuspendBlock() void {
|
||||
comptime assert(@typeOf(p) == promise->void);
|
||||
a_promise = p;
|
||||
}
|
||||
|
||||
//Test to make sure that @handle() works as advertised (issue #1296)
|
||||
//var our_handle: promise = @handle();
|
||||
assert( a_promise == @handle() );
|
||||
|
||||
result = true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user