summaryrefslogtreecommitdiffstats
path: root/testData/results/TestClassVar.dec
blob: 4cfd27f7854dddcaa8b8d80436ab9c8a06e7da98 (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
package pkg;

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();
         }
      }

   }
}