summaryrefslogtreecommitdiff
path: root/test/files/pos/exbound.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/exbound.scala')
-rwxr-xr-xtest/files/pos/exbound.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/exbound.scala b/test/files/pos/exbound.scala
new file mode 100755
index 0000000000..243d5832ce
--- /dev/null
+++ b/test/files/pos/exbound.scala
@@ -0,0 +1,7 @@
+class A[T <: A[T]] {
+
+}
+
+object Test {
+ val x: A[X] forSome { type X } = null
+}