| ... | ... | @@ -1001,10 +1001,10 @@ fn f(Foo: i32) { |
| 1001 | 1001 | var Bar : i32 = undefined; |
| 1002 | 1002 | } |
| 1003 | 1003 | )SOURCE", 4, |
| 1004 | | ".tmp_source.zig:5:6: error: redefinition of 'Foo'", |
| 1005 | | ".tmp_source.zig:2:1: note: previous definition is here", |
| 1006 | | ".tmp_source.zig:6:5: error: redefinition of 'Bar'", |
| 1007 | | ".tmp_source.zig:3:1: note: previous definition is here"); |
| 1004 | ".tmp_source.zig:5:6: error: redeclaration of variable 'Foo'", |
| 1005 | ".tmp_source.zig:2:1: note: previous declaration is here", |
| 1006 | ".tmp_source.zig:6:5: error: redeclaration of variable 'Bar'", |
| 1007 | ".tmp_source.zig:3:1: note: previous declaration is here"); |
| 1008 | 1008 | |
| 1009 | 1009 | add_compile_fail_case("multiple else prongs in a switch", R"SOURCE( |
| 1010 | 1010 | fn f(x: u32) { |