aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-09-21 14:15:58 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-09-21 14:15:58 -0400
commit7c5e3e1f8e4671b383865df0150b549e2445d170 (patch)
tree5bc73aa60ecc49695fd9bf8bab550ac1e75657be /test/compile_errors.zig
parent5a21d3dce0c020833bfe426049e2391ae3977846 (diff)
downloadzig-7c5e3e1f8e4671b383865df0150b549e2445d170.tar.gz
zig-7c5e3e1f8e4671b383865df0150b549e2445d170.zip
fixups
Diffstat (limited to 'test/compile_errors.zig')
-rw-r--r--test/compile_errors.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index 7b659a8dc1..fae022f3fb 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -3769,7 +3769,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
\\ return @byteOffsetOf(Foo, "a",);
\\}
,
- ".tmp_source.zig:3:22: error: expected struct type, found 'i32'",
+ ".tmp_source.zig:3:26: error: expected struct type, found 'i32'",
);
cases.add(
@@ -3781,7 +3781,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
\\ return @byteOffsetOf(Foo, "a",);
\\}
,
- ".tmp_source.zig:5:27: error: struct 'Foo' has no field 'a'",
+ ".tmp_source.zig:5:31: error: struct 'Foo' has no field 'a'",
);
cases.addExe(
@@ -5092,7 +5092,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
\\ const fieldOffset = @byteOffsetOf(Empty, "val",);
\\}
,
- ".tmp_source.zig:5:42: error: zero-bit field 'val' in struct 'Empty' has no offset",
+ ".tmp_source.zig:5:46: error: zero-bit field 'val' in struct 'Empty' has no offset",
);
cases.add(
@@ -5104,7 +5104,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
\\ const fieldOffset = @bitOffsetOf(Empty, "val",);
\\}
,
- ".tmp_source.zig:5:42: error: zero-bit field 'val' in struct 'Empty' has no offset",
+ ".tmp_source.zig:5:45: error: zero-bit field 'val' in struct 'Empty' has no offset",
);
cases.add(