aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1803.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/i1803.scala')
-rw-r--r--tests/pos/i1803.scala7
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 {})
+}