aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5/BoolTest.java
blob: 0d9ca154c25c4804f4b97130742da7d5fb295ab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package test5;

public class BoolTest {
    static boolean i = false;
    public boolean test() {
        return i;
    }
    public boolean foo(boolean b) { return b; }
    public int run() {
        if (test())
            return 1;
        else
            return 0;
    }
}