summaryrefslogtreecommitdiff
path: root/test/files/pos/bug3528.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/bug3528.scala')
-rw-r--r--test/files/pos/bug3528.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/bug3528.scala b/test/files/pos/bug3528.scala
new file mode 100644
index 0000000000..ff49b3e929
--- /dev/null
+++ b/test/files/pos/bug3528.scala
@@ -0,0 +1,8 @@
+class A {
+ // 3528 - not fixed
+ // def f1 = List(List(1), Stream(1))
+ // 3528 comments
+ def f2 = List(Set(1,2,3), List(1,2,3))
+ // 2322
+ def f3 = List(null: Range, null: List[Int])
+}