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

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

class OtherClass {
    private function pf():void {
        ;
    }

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