mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
parent
c0517bf1f6
commit
bdb8c49418
@ -6665,12 +6665,6 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
|
||||
"tmp.zig:9:13: error: type '*MyType' does not support field access",
|
||||
});
|
||||
|
||||
cases.add("carriage return special case", "fn test() bool {\r\n" ++
|
||||
" true\r\n" ++
|
||||
"}\r\n", &[_][]const u8{
|
||||
"tmp.zig:1:17: error: invalid carriage return, only '\\n' line endings are supported",
|
||||
});
|
||||
|
||||
cases.add("invalid legacy unicode escape",
|
||||
\\export fn entry() void {
|
||||
\\ const a = '\U1234';
|
||||
|
Loading…
Reference in New Issue
Block a user