aboutsummaryrefslogtreecommitdiff
path: root/tests/new
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new')
-rw-r--r--tests/new/test.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/new/test.scala b/tests/new/test.scala
new file mode 100644
index 000000000..5d2bc0ff5
--- /dev/null
+++ b/tests/new/test.scala
@@ -0,0 +1,12 @@
+trait T {
+ object O
+}
+
+class C extends T
+
+object Test {
+
+ val c = new C
+ c.O
+
+}