From c3dad6eaf6fef4130df53a2d70e72e64e3c3e150 Mon Sep 17 00:00:00 2001 From: paltherr Date: Tue, 2 Mar 2004 12:21:29 +0000 Subject: - Added test 1 --- test/files/pos/compile.scala | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test') 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 + } +} + +//############################################################################ -- cgit v1.2.3