committed by
Andrew Kelley
parent
85d1885375
commit
66f13ba807
@@ -839,7 +839,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
|
||||
\\ _ = &x == null;
|
||||
\\}
|
||||
,
|
||||
"tmp.zig:3:12: error: comparison against null can only be done with optionals",
|
||||
"tmp.zig:3:12: error: only optionals (not '*i32') can compare to null",
|
||||
);
|
||||
|
||||
cases.add(
|
||||
|
||||
Reference in New Issue
Block a user