added more test cases
[swftools.git] / lib / as3 / err / static1.as
diff --git a/lib/as3/err/static1.as b/lib/as3/err/static1.as
new file mode 100644 (file)
index 0000000..a865bd8
--- /dev/null
@@ -0,0 +1,9 @@
+package package1 {
+    public class A {
+        public var x;
+        public static function f() 
+        {
+            x = 3; //error: this member is not static
+        }
+    }
+}