summaryrefslogblamecommitdiff
path: root/test/pos/imports.scala
blob: 32b7aace62ffef2edbb2884d457ac8fb1d37e5fb (plain) (tree)
1
2
3
4
5
6
7





                              
             






                                                 
              


                
package test;



import java.lang.{System => S}

object test {
  import S.out.{print => p, println => print}

  val foo = 1;

  p("hello"); print("world"); S.out.println("!");
  S.out.flush();
}
object test1 {
  import test._;
  foo
}