changes
[IRC.git] / Robust / src / Tests / rcr / test.java
index 40e47edcd417042c84f4ed3da65e5419f82312ec..2f5ee3e028f09d04a0cbad2f4ddf68a0806fc5ac 100644 (file)
@@ -1,16 +1,23 @@
 public class test {
-  int x;
+  foo f;
   public test() {}
 
   public static void main(String x[]) {
     test r=new test();
+    r.f=new foo();
     int z;
     sese foo {
-      r.x=2;
+      r.f.x=2;
     }
     sese bar {
-      z=r.x;
+      z=r.f.x;
     }
     System.out.println(z);
   }
+}
+
+class foo {
+  foo() {
+  }
+  int x;
 }
\ No newline at end of file