aboutsummaryrefslogtreecommitdiff
path: root/test/swftests/PrivateCall.as
blob: f1c110a379c08d581445c5be56e35a1e35772b2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// input: []
// output: 9

package {
public class PrivateCall {
    public static function main():int{
    	var f:OtherClass = new OtherClass();
        return f.func();
    }
}
}

class OtherClass {
	private function pf():int {
		return 9;
	}

	public function func():int {
		return this.pf();
	}
}