aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/async/runtime-known_async_function_called.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-07-07 11:22:28 -0700
committerAndrew Kelley <andrew@ziglang.org>2025-07-07 13:39:16 -0700
commit40d11cc25a469dc6bb0f9fbba4d05e7210a23b3f (patch)
tree8f3ece572204f0ae02efe5f07581530db302dc1b /test/cases/compile_errors/async/runtime-known_async_function_called.zig
parent31e46be74360f7bf6509bd8826690318974175c0 (diff)
downloadzig-40d11cc25a469dc6bb0f9fbba4d05e7210a23b3f.tar.gz
zig-40d11cc25a469dc6bb0f9fbba4d05e7210a23b3f.zip
remove `async` and `await` keywords
Also remove `@frameSize`, closing #3654. While the other machinery might remain depending on #23446, it is settled that there will not be `async`/ `await` keywords in the language.
Diffstat (limited to 'test/cases/compile_errors/async/runtime-known_async_function_called.zig')
-rw-r--r--test/cases/compile_errors/async/runtime-known_async_function_called.zig15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/cases/compile_errors/async/runtime-known_async_function_called.zig b/test/cases/compile_errors/async/runtime-known_async_function_called.zig
deleted file mode 100644
index b3e7fabcea..0000000000
--- a/test/cases/compile_errors/async/runtime-known_async_function_called.zig
+++ /dev/null
@@ -1,15 +0,0 @@
-export fn entry() void {
- _ = async amain();
-}
-fn amain() void {
- var ptr = afunc;
- _ = ptr();
- _ = &ptr;
-}
-fn afunc() callconv(.@"async") void {}
-
-// error
-// backend=stage1
-// target=native
-//
-// tmp.zig:6:12: error: function is not comptime-known; @asyncCall required