aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/regex-emacs-tests.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/src/regex-emacs-tests.el b/test/src/regex-emacs-tests.el
index c8f161c9b24..c074100e17f 100644
--- a/test/src/regex-emacs-tests.el
+++ b/test/src/regex-emacs-tests.el
@@ -883,4 +883,8 @@ This evaluates the TESTS test cases from glibc."
883 (should (looking-at "x*\\(=\\|:\\)*")) 883 (should (looking-at "x*\\(=\\|:\\)*"))
884 (should (looking-at "x*=*?")))) 884 (should (looking-at "x*=*?"))))
885 885
886(ert-deftest regex-tests-mutual-exclusive-inf-rec ()
887 ;; Regression test for bug#65726, where this crashed Emacs.
888 (should (equal (string-match "a*\\(?:c\\|b*\\)*" "a") 0)))
889
886;;; regex-emacs-tests.el ends here 890;;; regex-emacs-tests.el ends here