aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t3649.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t3649.scala')
-rw-r--r--tests/untried/neg/t3649.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/untried/neg/t3649.scala b/tests/untried/neg/t3649.scala
new file mode 100644
index 000000000..2aaff9610
--- /dev/null
+++ b/tests/untried/neg/t3649.scala
@@ -0,0 +1,2 @@
+object T { class C(s: String = ""); val C = 0 }
+object U { class C(val s: String = ""); val C = new C() {} }