summaryrefslogtreecommitdiff
path: root/test/lsp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lsp')
-rw-r--r--test/lsp/JavaA/.ted-root0
-rw-r--r--test/lsp/JavaA/Main.java8
-rw-r--r--test/lsp/JavaB/.ted-root0
-rw-r--r--test/lsp/JavaB/B.java13
4 files changed, 21 insertions, 0 deletions
diff --git a/test/lsp/JavaA/.ted-root b/test/lsp/JavaA/.ted-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/lsp/JavaA/.ted-root
diff --git a/test/lsp/JavaA/Main.java b/test/lsp/JavaA/Main.java
new file mode 100644
index 0000000..2792b7c
--- /dev/null
+++ b/test/lsp/JavaA/Main.java
@@ -0,0 +1,8 @@
+public class Main {
+ public static void main(String[] args) {
+ int x = 0;
+ x++;
+ for (int i = 0; i < args.length; ++i) {
+ }
+ }
+}
diff --git a/test/lsp/JavaB/.ted-root b/test/lsp/JavaB/.ted-root
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/lsp/JavaB/.ted-root
diff --git a/test/lsp/JavaB/B.java b/test/lsp/JavaB/B.java
new file mode 100644
index 0000000..fde8107
--- /dev/null
+++ b/test/lsp/JavaB/B.java
@@ -0,0 +1,13 @@
+public class B {
+ private static class Something {
+ public int x = 0;
+ int f() {
+ return x;
+ }
+ }
+
+ public static void main(String[] args) {
+ Something s = new Something();
+ s.f();
+ }
+}