aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/hk-match
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/hk-match')
-rw-r--r--tests/untried/pos/hk-match/a.scala5
-rw-r--r--tests/untried/pos/hk-match/b.scala1
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/pos/hk-match/a.scala b/tests/untried/pos/hk-match/a.scala
new file mode 100644
index 000000000..7144068f3
--- /dev/null
+++ b/tests/untried/pos/hk-match/a.scala
@@ -0,0 +1,5 @@
+trait A {
+ type HKAlias[X] = List[X]
+
+ (null: Any) match { case f: Bippy[HKAlias] => f }
+}
diff --git a/tests/untried/pos/hk-match/b.scala b/tests/untried/pos/hk-match/b.scala
new file mode 100644
index 000000000..f7d21f638
--- /dev/null
+++ b/tests/untried/pos/hk-match/b.scala
@@ -0,0 +1 @@
+trait Bippy[E[X]]