authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-08-18 08:44:34-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-08-18 08:44:34-07:00
logbdb8c494188f699527e927f3a4d3b37d3823549f
treef68141f6b8b8faa432473135a5378e91807533f6
parentc0517bf1f6f6f7de0279e3766f414c5c8380bed7

stage1: update compile error tests

follow-up to 56c81c713f749f858089e5bcdf9e6fac588bcf86

1 files changed, 0 insertions(+), 6 deletions(-)

test/compile_errors.zig-6
...@@ -6665,12 +6665,6 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {...@@ -6665,12 +6665,6 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
6665 "tmp.zig:9:13: error: type '*MyType' does not support field access",6665 "tmp.zig:9:13: error: type '*MyType' does not support field access",
6666 });6666 });
66676667
6668 cases.add("carriage return special case", "fn test() bool {\r\n" ++
6669 " true\r\n" ++
6670 "}\r\n", &[_][]const u8{
6671 "tmp.zig:1:17: error: invalid carriage return, only '\\n' line endings are supported",
6672 });
6673
6674 cases.add("invalid legacy unicode escape",6668 cases.add("invalid legacy unicode escape",
6675 \\export fn entry() void {6669 \\export fn entry() void {
6676 \\ const a = '\U1234';6670 \\ const a = '\U1234';