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