aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test2/Nested3.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test2/Nested3.java')
-rw-r--r--src/test/test2/Nested3.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/test2/Nested3.java b/src/test/test2/Nested3.java
new file mode 100644
index 00000000..570f7a5e
--- /dev/null
+++ b/src/test/test2/Nested3.java
@@ -0,0 +1,16 @@
+package test2;
+
+public class Nested3 {
+ private int i = 0;
+ private int geti() { return i; }
+
+ Nested3(int j) { i = 1; }
+
+ private Nested3() { i = 2; }
+
+ private Nested3(String s) { i = 3; }
+
+ public static class Inner {
+ public int g() { return 1; }
+ }
+}