| author | |
| committer | |
| log | 7ffe068a79577b516d54996b8bc46ce48b8eb8bf |
| tree | 95db2241ce8c53f871944a934189b07144dbcad6 |
| parent | cbbb67c5df46bc97f70f925772ce03eb11db5a1b |
Matthew can revert this commit when he's ready to tackle the assertion
failure1 files changed, 0 insertions(+), 15 deletions(-)
test/cases/compile_errors/enum_field_value_references_enum.zig deleted-15| ... | ... | @@ -1,15 +0,0 @@ |
| 1 | pub const Foo = enum(c_int) { | |
| 2 | A = Foo.B, | |
| 3 | C = D, | |
| 4 | ||
| 5 | pub const B = 0; | |
| 6 | }; | |
| 7 | export fn entry() void { | |
| 8 | const s: Foo = Foo.E; | |
| 9 | _ = s; | |
| 10 | } | |
| 11 | const D = 1; | |
| 12 | ||
| 13 | // error | |
| 14 | // | |
| 15 | // :1:5: error: dependency loop detected |