aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-12-12 15:32:37 +0200
committerVeikka Tuominen <git@vexu.eu>2022-12-13 13:14:20 +0200
commit08b2d491bcd8c79c68495267cc71967661caea1e (patch)
treef6c8436094170f3dd197ffec479aec575c875d19 /test/behavior/basic.zig
parent7b2a936173165002105ba5e76bed69654e132fea (diff)
downloadzig-08b2d491bcd8c79c68495267cc71967661caea1e.tar.gz
zig-08b2d491bcd8c79c68495267cc71967661caea1e.zip
update usages of `@call`
Diffstat (limited to 'test/behavior/basic.zig')
-rw-r--r--test/behavior/basic.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig
index e5e28cddb3..43574db06f 100644
--- a/test/behavior/basic.zig
+++ b/test/behavior/basic.zig
@@ -966,8 +966,8 @@ test "generic function uses return type of other generic function" {
fn call(
f: anytype,
args: anytype,
- ) @TypeOf(@call(.{}, f, @as(@TypeOf(args), undefined))) {
- return @call(.{}, f, args);
+ ) @TypeOf(@call(.auto, f, @as(@TypeOf(args), undefined))) {
+ return @call(.auto, f, args);
}
fn func(arg: anytype) @TypeOf(arg) {