summaryrefslogtreecommitdiff
path: root/test/files/pos/t5897.scala
blob: 2e9751afe08e20098cfc62b891936f7472c1dcff (plain) (blame)
1
2
3
4
5
6
// no warning here
// (strangely, if there's an unreachable code warning *anywhere in this compilation unit*,
//  the non-sensical warning goes away under -Xfatal-warnings)
class Test {
  () match { case () => }
}