aboutsummaryrefslogtreecommitdiff
path: root/test/cases/struct.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/cases/struct.zig')
-rw-r--r--test/cases/struct.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cases/struct.zig b/test/cases/struct.zig
index 20d46999d5..163c69e670 100644
--- a/test/cases/struct.zig
+++ b/test/cases/struct.zig
@@ -423,10 +423,10 @@ fn alloc(comptime T: type) []T {
test "call method with mutable reference to struct with no fields" {
const S = struct {
- fn doC(s: *const this) bool {
+ fn doC(s: *const @This()) bool {
return true;
}
- fn do(s: *this) bool {
+ fn do(s: *@This()) bool {
return true;
}
};