enable successful references test
This commit is contained in:
parent
6530fe01c4
commit
1df17e8aa5
@ -56,15 +56,14 @@ test "references - local scope" {
|
|||||||
\\ return <0> + bar;
|
\\ return <0> + bar;
|
||||||
\\}
|
\\}
|
||||||
);
|
);
|
||||||
if (true) return error.SkipZigTest; // TODO
|
|
||||||
try testReferences(
|
try testReferences(
|
||||||
\\const foo = blk: {
|
\\const foo = outer: {
|
||||||
\\ _ = blk: {
|
\\ _ = inner: {
|
||||||
\\ const <0> = 0;
|
\\ const <0> = 0;
|
||||||
\\ break :blk <0>;
|
\\ break :inner <0>;
|
||||||
\\ };
|
\\ };
|
||||||
\\ const <1> = 0;
|
\\ const <1> = 0;
|
||||||
\\ break :blk <1>;
|
\\ break :outer <1>;
|
||||||
\\};
|
\\};
|
||||||
\\const bar = foo;
|
\\const bar = foo;
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user