summaryrefslogtreecommitdiff
path: root/test/files/pos/compile.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/compile.scala')
-rw-r--r--test/files/pos/compile.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/compile.scala b/test/files/pos/compile.scala
index f94aceedac..2edafd4772 100644
--- a/test/files/pos/compile.scala
+++ b/test/files/pos/compile.scala
@@ -17,3 +17,16 @@ object Test0Test {
}
//############################################################################
+// Test 1 - Single types in lambda lift
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ List[args.type](args);
+ }
+ def foo[X]: Any = {
+ def bar(x: X) = List(x);
+ 0
+ }
+}
+
+//############################################################################