aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/chang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/chang')
-rw-r--r--tests/untried/pos/chang/Outer.java11
-rw-r--r--tests/untried/pos/chang/Test.scala3
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/untried/pos/chang/Outer.java b/tests/untried/pos/chang/Outer.java
new file mode 100644
index 000000000..acdb4e290
--- /dev/null
+++ b/tests/untried/pos/chang/Outer.java
@@ -0,0 +1,11 @@
+package com.netgents.hello;
+
+public class Outer<A> {
+
+ public Inner inner = new Inner();
+
+ public class Inner {
+
+ public A a;
+ }
+}
diff --git a/tests/untried/pos/chang/Test.scala b/tests/untried/pos/chang/Test.scala
new file mode 100644
index 000000000..f74c6355b
--- /dev/null
+++ b/tests/untried/pos/chang/Test.scala
@@ -0,0 +1,3 @@
+object Test extends App {
+ new com.netgents.hello.Outer[String]
+}