enable successful references test

This commit is contained in:
Techatrix 2023-03-21 01:53:42 +01:00 committed by Lee Cannon
parent 6530fe01c4
commit 1df17e8aa5

View File

@ -56,15 +56,14 @@ test "references - local scope" {
\\ return <0> + bar;
\\}
);
if (true) return error.SkipZigTest; // TODO
try testReferences(
\\const foo = blk: {
\\ _ = blk: {
\\const foo = outer: {
\\ _ = inner: {
\\ const <0> = 0;
\\ break :blk <0>;
\\ break :inner <0>;
\\ };
\\ const <1> = 0;
\\ break :blk <1>;
\\ break :outer <1>;
\\};
\\const bar = foo;
);