aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test1/CalleeAfter.java
blob: 7d31d1bf1e145cad3f242e9e1084a74d428c6e3e (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
package test1;

public class CalleeAfter {
    public int p;

    public CalleeAfter() {
	p = 3;
    }

    public int m1(int i) {
	return p + i;
    }

    public char m2(char c) {
	return c;
    }

    public int test() {
	if (m2('a') == 'b')
	    return m1(10);
	else
	    return -1;
    }
}