summaryrefslogblamecommitdiff
path: root/test/files/pos/t2130-2.scala
blob: 464f5e0d8e9c9a066e6357e9e9a39f3603ca4edc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                               
    



                                           
package foo

package object bar {
  class Bippy(x: Int) {
    class Ding
    object Ding
    case class Dong(x: Float)
  }
  object Bippy {
    class Dingus
    object Dingus
    case class Dongus(x: Float)
    
    def apply(xs: Int*) = new Bippy(xs.sum)
    def apply() = new Bippy(5)
  }
}