diff options
Diffstat (limited to 'tests/pos/t0905.scala')
-rw-r--r-- | tests/pos/t0905.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/t0905.scala b/tests/pos/t0905.scala new file mode 100644 index 000000000..3800c6e0b --- /dev/null +++ b/tests/pos/t0905.scala @@ -0,0 +1,6 @@ +object Test { + trait A[T] + def f(implicit p: A[_]) = null + implicit val x: A[_] = null + println(f) +} |