summaryrefslogtreecommitdiff
path: root/test/lsp/multidef.cpp
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-03 23:50:50 -0500
committerpommicket <pommicket@gmail.com>2023-01-03 23:50:50 -0500
commit3756a3e47221c3b0133724a482341a9010076a9e (patch)
tree7ad68fd0b76bd0e132fd86cd5044c3e08d581d22 /test/lsp/multidef.cpp
parent4e73c6a204383667aad6ce3905e16aee2a172fb6 (diff)
read workspace/symbols containerName
Diffstat (limited to 'test/lsp/multidef.cpp')
-rw-r--r--test/lsp/multidef.cpp45
1 files changed, 32 insertions, 13 deletions
diff --git a/test/lsp/multidef.cpp b/test/lsp/multidef.cpp
index 6cd5e1a..b9511d0 100644
--- a/test/lsp/multidef.cpp
+++ b/test/lsp/multidef.cpp
@@ -1,16 +1,35 @@
-
-void f(int x, int y) {
-}
-
-
-void f(int x) {
+class V {
+ void f(int x, int y) {
+ }
+
+
+ void f(int x) {
+ }
+
+ void f(const char *s) {
+ }
+
+
+ void g() {
+ }
+ void g(int y) {
+ }
}
-void f(const char *s) {
-}
-
-
-void g() {
-}
-void g(int y) {
+class W {
+ void f(int x, int y) {
+ }
+
+
+ void f(int x) {
+ }
+
+ void f(const char *s) {
+ }
+
+
+ void g() {
+ }
+ void g(int y) {
+ }
}