diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/patmatnew.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/patmatnew.scala b/test/files/run/patmatnew.scala index ee0d620d21..f183fc11ec 100644 --- a/test/files/run/patmatnew.scala +++ b/test/files/run/patmatnew.scala @@ -385,5 +385,14 @@ object Test extends TestConsoleMain { } } + trait Outer { // bug #1282 compile-only + object No + trait File { + (null:AnyRef) match { + case No => false + } + } + } + } |