ソースを参照

Add unit test for #4608

Ryusei Yamaguchi 10 年 前
コミット
cf073db8a5
1 ファイル変更14 行追加0 行削除
  1. 14 0
      tests/unit/src/unit/issues/Issue4608.hx

+ 14 - 0
tests/unit/src/unit/issues/Issue4608.hx

@@ -0,0 +1,14 @@
+package unit.issues;
+
+class Issue4608 extends Test {
+    function test() {
+        var s = "𩸽あëa";
+        var b = false;
+        switch s {
+        case "𩸽あëa":
+            b = true;
+        case _:
+        }
+        t(b);
+    }
+}