aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/hk-match/a.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/hk-match/a.scala')
-rw-r--r--tests/untried/pos/hk-match/a.scala5
1 files changed, 5 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 }
+}