fix symbol references (#712)

* fix symbol references

* skip references for inline assembly
This commit is contained in:
Techatrix
2022-10-29 10:37:52 +02:00
committed by GitHub
parent 51a7ae2274
commit 7a7576c06d
2 changed files with 66 additions and 63 deletions

View File

@@ -16,7 +16,6 @@ const allocator: std.mem.Allocator = std.testing.allocator;
const skip_references_tests = true;
test "references" {
if (skip_references_tests) return error.SkipZigTest;
try testReferences(
\\const <0> = 0;
\\const foo = <0>;
@@ -48,7 +47,6 @@ test "references" {
}
test "references - global scope" {
if (skip_references_tests) return error.SkipZigTest;
try testReferences(
\\const foo = <0>;
\\const <0> = 0;