summaryrefslogtreecommitdiff
path: root/test/files/run/lub-visibility.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/lub-visibility.scala')
-rw-r--r--test/files/run/lub-visibility.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/lub-visibility.scala b/test/files/run/lub-visibility.scala
new file mode 100644
index 0000000000..8d5d3ae11a
--- /dev/null
+++ b/test/files/run/lub-visibility.scala
@@ -0,0 +1,8 @@
+import scala.tools.partest.ReplTest
+object Test extends ReplTest {
+ def code = """
+ |// should infer List[scala.collection.immutable.Seq[Nothing]]
+ |// but reverted that for SI-5534.
+ |val x = List(List(), Vector())
+ """.stripMargin
+}