summaryrefslogtreecommitdiffstats
path: root/test/unit/results/TestClassVar.dec
blob: cca4d7a6049c08b26f3e2e8aca5cf564d65aa087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package unit.classes;


public class TestClassVar {

   private boolean field_boolean = Math.random() > 0.0D;
   public int field_int = 0;


   public void testFieldSSAU() {
      for(int var1 = 0; var1 < 10; ++var1) {
         try {
            System.out.println();
         } finally {
            if(this.field_boolean) {
               System.out.println();
            }

         }
      }

   }

   public Long testFieldSSAU1() {
      return new Long((long)(this.field_int++));
   }

   public void testComplexPropagation() {
      int var1 = 0;

      while(var1 < 10) {
         int var2;
         for(var2 = var1; var1 < 10 && var1 == 0; ++var1) {
            ;
         }

         if(var2 != var1) {
            System.out.println();
         }
      }

   }
}