aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/not-possible-cause.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/not-possible-cause.scala')
-rw-r--r--tests/untried/neg/not-possible-cause.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/untried/neg/not-possible-cause.scala b/tests/untried/neg/not-possible-cause.scala
new file mode 100644
index 000000000..6c500b7b8
--- /dev/null
+++ b/tests/untried/neg/not-possible-cause.scala
@@ -0,0 +1,3 @@
+object Foo {
+ def foo[A <: Product](a: A): Unit = { type X = a.type }
+}