tests: Add test for #5292

This commit is contained in:
EmperorBale 2021-09-14 15:59:24 -07:00 committed by kmeisthax
parent 1dd899a76f
commit edee0a713c
5 changed files with 17 additions and 0 deletions

View File

@ -441,6 +441,7 @@ swf_tests! {
(as3_greaterthan, "avm2/greaterthan", 1),
(as3_lessequals, "avm2/lessequals", 1),
(as3_lessthan, "avm2/lessthan", 1),
(as3_issue_5292, "avm2/issue_5292", 1),
(nested_textfields_in_buttons, "avm1/nested_textfields_in_buttons", 1),
(conflicting_instance_names, "avm1/conflicting_instance_names", 6),
(button_children, "avm1/button_children", 1),

View File

@ -0,0 +1,14 @@
package
{
public class Test
{
public static var t = "static prop";
public function Test()
{
trace("// Getting static property");
trace(t);
}
}
}

View File

@ -0,0 +1,2 @@
// Getting static property
static prop

Binary file not shown.

Binary file not shown.