aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
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) {