aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/not-testable/t5954c/A_1.scala
blob: 29ad9547a232139d92f09e2916a377e17d3eab8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package object A {
  // these used to should be prevented by the implementation restriction
  // but are now allowed
  class B
  object B
  trait C
  object C
  case class D()
  // all the rest of these should be ok
  class E
  object F
  val g = "omg"
  var h = "wtf"
  def i = "lol"
  type j = String
  class K(val k : Int) extends AnyVal
  implicit class L(val l : Int)
}