diff options
Diffstat (limited to 'tests/pos')
-rw-r--r-- | tests/pos/i1803.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pos/i1803.scala b/tests/pos/i1803.scala new file mode 100644 index 000000000..19bf21918 --- /dev/null +++ b/tests/pos/i1803.scala @@ -0,0 +1,7 @@ +class C[T] + +object Test { + def f(x: C[Int]) = ??? + + f(new C {}) +} |