| ... | @@ -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 | }); |
| 6667 | | 6667 | |
| 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'; |