summaryrefslogtreecommitdiff
path: root/test/lsp
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-03 23:22:15 -0500
committerpommicket <pommicket@gmail.com>2023-01-03 23:22:15 -0500
commitb6460a7aac5196b8cb6174bdaa8cc2ab82310380 (patch)
treedd6be579865b4b3bb62a4d709a4347bf2bf1446e /test/lsp
parentadabc989a118190a4dc7e85315b5a337b806b314 (diff)
handle multiple definitions of a symbol with the same name
in the definitions menu
Diffstat (limited to 'test/lsp')
-rw-r--r--test/lsp/.ted-root0
-rw-r--r--test/lsp/multidef.cpp9
2 files changed, 9 insertions, 0 deletions
diff --git a/test/lsp/.ted-root b/test/lsp/.ted-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/lsp/.ted-root
diff --git a/test/lsp/multidef.cpp b/test/lsp/multidef.cpp
index eb5336d..6cd5e1a 100644
--- a/test/lsp/multidef.cpp
+++ b/test/lsp/multidef.cpp
@@ -5,3 +5,12 @@ void f(int x, int y) {
void f(int x) {
}
+
+void f(const char *s) {
+}
+
+
+void g() {
+}
+void g(int y) {
+}