aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/moduletrans.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/moduletrans.scala')
-rw-r--r--tests/untried/pos/moduletrans.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/pos/moduletrans.scala b/tests/untried/pos/moduletrans.scala
new file mode 100644
index 000000000..51538417e
--- /dev/null
+++ b/tests/untried/pos/moduletrans.scala
@@ -0,0 +1,8 @@
+object m1 {
+
+ class m() {
+ def f() = 5
+ }
+ final val m: m = new m()
+
+}