diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t0154.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/t0154.scala b/test/files/pos/t0154.scala new file mode 100644 index 0000000000..9fb9430676 --- /dev/null +++ b/test/files/pos/t0154.scala @@ -0,0 +1,10 @@ +package test +trait MyMatchers { + val StringMatch = new AnyRef {} + trait Something { + (null : AnyRef) match { + case (StringMatch) => + case _ => + } + } +} |