summaryrefslogtreecommitdiff
path: root/test/files/run/t10231/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t10231/Test_2.scala')
-rw-r--r--test/files/run/t10231/Test_2.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/t10231/Test_2.scala b/test/files/run/t10231/Test_2.scala
new file mode 100644
index 0000000000..8f8150cab1
--- /dev/null
+++ b/test/files/run/t10231/Test_2.scala
@@ -0,0 +1,5 @@
+object Test extends App {
+ val a = new A_1
+ val i = new a.Inner(i = 99)
+ assert(i.x == 99)
+}