summaryrefslogtreecommitdiff
path: root/test/files/pos/imports.scala
blob: f13a3a43685c8fa155c85a59fe48171afab77594 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package test;



import java.lang.{System => S}

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

  val foo = 1;

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