summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-996391.js
diff options
context:
space:
mode:
authorThomas <hakerh403@gmail.com>2019-09-06 13:53:02 +0200
committerMichaël Zasso <targos@protonmail.com>2019-09-20 10:23:07 +0200
commitdc7c7b83bedb1723344f3bf2e31bb666675e5fec (patch)
tree61950b998abf221b5b1989b3606eed2011394abc /deps/v8/test/mjsunit/regress/regress-996391.js
parent4396bebfe1fc024ff6badf2ead40f1b5127d4e67 (diff)
downloadandroid-node-v8-dc7c7b83bedb1723344f3bf2e31bb666675e5fec.tar.gz
android-node-v8-dc7c7b83bedb1723344f3bf2e31bb666675e5fec.tar.bz2
android-node-v8-dc7c7b83bedb1723344f3bf2e31bb666675e5fec.zip
deps: patch V8 to 7.7.299.10
Refs: https://github.com/v8/v8/compare/7.7.299.8...7.7.299.10 PR-URL: https://github.com/nodejs/node/pull/29472 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-996391.js')
-rw-r--r--deps/v8/test/mjsunit/regress/regress-996391.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-996391.js b/deps/v8/test/mjsunit/regress/regress-996391.js
new file mode 100644
index 0000000000..2c0b76be8a
--- /dev/null
+++ b/deps/v8/test/mjsunit/regress/regress-996391.js
@@ -0,0 +1,9 @@
+// Copyright 2019 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Flags: --allow-natives-syntax --regexp-interpret-all
+
+assertArrayEquals(["o"], /.(?<!^.)/m.exec("foobar"));
+assertArrayEquals(["o"], /.(?<!\b.)/m.exec("foobar"));
+assertArrayEquals(["f"], /.(?<!\B.)/m.exec("foobar"));