diff options
Diffstat (limited to 'test/files/pos/infer2-pos.scala')
-rw-r--r-- | test/files/pos/infer2-pos.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/infer2-pos.scala b/test/files/pos/infer2-pos.scala new file mode 100644 index 0000000000..e065219a80 --- /dev/null +++ b/test/files/pos/infer2-pos.scala @@ -0,0 +1,8 @@ +package test +class Lst[T] +case class cons[T](x: T, xs: Lst[T]) extends Lst[T] +case class nil[T] extends Lst[T] +object test { + Console.println(cons(1, nil())) +} + |