another variant of resident-java test from pvlugter

This commit is contained in:
Mark Harrah 2012-05-30 07:13:15 -04:00
parent 322b2d5adc
commit 1c842b3341
4 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,2 @@
package a;
public class A { public static final int x = 3; }

View File

@ -0,0 +1,2 @@
package b
object B { val x = 3 }

View File

@ -0,0 +1,2 @@
package b
object B { val x = a.A.x }

View File

@ -0,0 +1,8 @@
$ copy-file changes/B0.scala B.scala
> compile
$ copy-file changes/A1.java A.java
> compile
$ copy-file changes/B1.scala B.scala
> compile