summaryrefslogtreecommitdiff
path: root/test/lsp/multidef.cpp
diff options
context:
space:
mode:
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) {
+ }
}