aboutsummaryrefslogtreecommitdiff
path: root/tests/hover_test.odin
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hover_test.odin')
-rw-r--r--tests/hover_test.odin10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/hover_test.odin b/tests/hover_test.odin
index 071bcba..f348447 100644
--- a/tests/hover_test.odin
+++ b/tests/hover_test.odin
@@ -4834,6 +4834,16 @@ ast_hover_if_ternary_expr :: proc(t: ^testing.T) {
}
test.expect_hover(t, &source, "test.bar: int")
}
+
+@(test)
+ast_hover_proc_param_tags :: proc(t: ^testing.T) {
+ source := test.Source {
+ main = `package test
+ f{*}oo :: proc (#by_ptr a: int, #any_int b: int) {}
+ `,
+ }
+ test.expect_hover(t, &source, "test.foo: proc(#by_ptr a: int, #any_int b: int)")
+}
/*
Waiting for odin fix