aboutsummaryrefslogblamecommitdiff
path: root/tests/run/t1987b/cce_test.scala
blob: 4f9acf02644a0a6d72a6f20190b2f146116d46e5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                        
package scales.xml
//import scales.xml._ // using another pacakge and importing doesn't CCE

object CCE_Test {
  def main(args: Array[String]): Unit = {
    // without the import it doesn't trigger the CCE
    import scaley.funny._

    val pull = null.asInstanceOf[Iterator[PullType]]
    val LogEntries = null.asInstanceOf[List[QName]]
    // fully qualify with scales.xml. and it won't trigger it
    iterate(LogEntries,
      pull)
  }
}