diff options
Diffstat (limited to 'test/files/pos/t1107/Object.scala')
-rw-r--r-- | test/files/pos/t1107/Object.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/t1107/Object.scala b/test/files/pos/t1107/Object.scala new file mode 100644 index 0000000000..0fd04695b1 --- /dev/null +++ b/test/files/pos/t1107/Object.scala @@ -0,0 +1,10 @@ +object O +{ + def d(t: Top) = + t match + { + case s: Sub => true + case _ => false + } +} + |