find references on test decl with identifier name (#1051)

This commit is contained in:
Techatrix
2023-03-12 06:24:54 +00:00
committed by GitHub
parent ab23ff3616
commit a959f161e9
3 changed files with 27 additions and 13 deletions

View File

@@ -105,6 +105,13 @@ test "references - while continue expression" {
);
}
test "references - test with identifier" {
try testReferences(
\\pub fn <0>() bool {}
\\test <0> {}
);
}
test "references - label" {
if (true) return error.SkipZigTest; // TODO
try testReferences(