summaryrefslogblamecommitdiff
path: root/test/files/run/static-annot-repl.scala
blob: 1d2e9b2d7e152d1d37414113bc89acd5a13688e3 (plain) (tree)





















                                   
import scala.tools.partest.ReplTest



object Test extends ReplTest {
  def code = """
import annotation.static
@static var x1 = 42
@static val x2 = 43
@static def x3 = 44
x1
x2
x3
class Test {
  @static def x = 42
}
"""

}