Browse Source

add test (really close #4370)

Dan Korostelev 10 years ago
parent
commit
b4a0a34525

+ 12 - 0
tests/misc/projects/Issue4370/Test.hx

@@ -0,0 +1,12 @@
+class Test {
+    static function main() {
+        trace("Haxe is great!");
+        var i = 2;
+        do{
+            trace("Doing this");
+            var x = 3;
+            var g = true;
+        }while(i--);
+
+    }
+}

+ 1 - 0
tests/misc/projects/Issue4370/compile-fail.hxml

@@ -0,0 +1 @@
+Test

+ 1 - 0
tests/misc/projects/Issue4370/compile-fail.hxml.stderr

@@ -0,0 +1 @@
+Test.hx:9: characters 15-18 : Int should be Bool