diff options
author | pommicket <pommicket@gmail.com> | 2023-01-03 23:22:15 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-03 23:22:15 -0500 |
commit | b6460a7aac5196b8cb6174bdaa8cc2ab82310380 (patch) | |
tree | dd6be579865b4b3bb62a4d709a4347bf2bf1446e /test/lsp | |
parent | adabc989a118190a4dc7e85315b5a337b806b314 (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-root | 0 | ||||
-rw-r--r-- | test/lsp/multidef.cpp | 9 |
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) { +} |