aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/repl-backticks.scala
blob: 37cfaec3ef1b42387bf87db587cc483e25fe8266 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import scala.tools.nsc._  

object Test {
  val testCode = """
    import java.lang.Thread.`yield`
    import scala.`package`.Throwable
    
    `yield`  
  """
  
  def main(args: Array[String]): Unit = {
    val settings = new Settings()
    settings.classpath.value = System.getProperty("java.class.path")
    val repl = new interpreter.IMain(settings)
    repl.interpret(testCode)    
  }
}