aboutsummaryrefslogtreecommitdiff
path: root/test/cases/struct.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-09-16 10:51:58 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-09-16 10:51:58 -0400
commita2abdb185f9e47b663edce1bdfa3fa525502f321 (patch)
tree9027e6f6886937afa463563dae176e5757cf006e /test/cases/struct.zig
parenta6bf37f8ca5a2eabc7cacb22696d2a2c622a993d (diff)
parent780e5674467ebac4534cd3d3f2199ccaf1d0922c (diff)
downloadzig-a2abdb185f9e47b663edce1bdfa3fa525502f321.tar.gz
zig-a2abdb185f9e47b663edce1bdfa3fa525502f321.zip
Merge remote-tracking branch 'origin/master' into llvm7
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;
}
};