mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 06:16:08 +00:00
22 lines
306 B
ActionScript
22 lines
306 B
ActionScript
package tests
|
|
{
|
|
|
|
public class TestGetProtected
|
|
{
|
|
protected var attr:int = 5;
|
|
|
|
public function run():*
|
|
{
|
|
var c:InnerClass = new InnerClass();
|
|
c.attr = 2;
|
|
var a:int = attr;
|
|
trace(a);
|
|
}
|
|
}
|
|
}
|
|
|
|
class InnerClass
|
|
{
|
|
public var attr:int = 1;
|
|
}
|