diff options
Diffstat (limited to 'tests/untried/pos/t3560.scala')
-rw-r--r-- | tests/untried/pos/t3560.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/untried/pos/t3560.scala b/tests/untried/pos/t3560.scala new file mode 100644 index 000000000..3cde9710d --- /dev/null +++ b/tests/untried/pos/t3560.scala @@ -0,0 +1,2 @@ +trait Foo[X] { def foo : Map[String,Foo[X]] } +object T3560 { def f[T]() : Foo[T] = new Foo[T] { var foo = Map[String,Foo[T]]() } } |