aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1704.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/i1704.scala')
-rw-r--r--tests/pos/i1704.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/i1704.scala b/tests/pos/i1704.scala
new file mode 100644
index 000000000..94bc03c4d
--- /dev/null
+++ b/tests/pos/i1704.scala
@@ -0,0 +1,4 @@
+trait AnyRef {
+ val StringMatch = new AnyRef {}
+ trait Something { (AnyRef) match { case (StringMatch) => } }
+}