summaryrefslogtreecommitdiff
path: root/test/files/neg/t5390d.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5390d.scala')
-rw-r--r--test/files/neg/t5390d.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/t5390d.scala b/test/files/neg/t5390d.scala
new file mode 100644
index 0000000000..7a2671b443
--- /dev/null
+++ b/test/files/neg/t5390d.scala
@@ -0,0 +1,10 @@
+class A {
+ case class B(s: String)
+}
+
+object X {
+ def foo {
+ val b = a.B.toString
+ val a = new A
+ }
+} \ No newline at end of file