From: K.Kosako Date: Mon, 26 Aug 2019 00:38:29 +0000 (+0900) Subject: add a test case X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1e4fe31cf664a513f361ff2dba352e4fc499f580;p=onig add a test case --- diff --git a/test/test_utf8.c b/test/test_utf8.c index 21acff8..9682a1a 100644 --- a/test/test_utf8.c +++ b/test/test_utf8.c @@ -1208,6 +1208,7 @@ extern int main(int argc, char* argv[]) x2("((?(a)\\g<1>|b))", "aab", 0, 3); x2("((?(a)\\g<1>))", "aab", 0, 2); x2("(b(?(a)|\\g<1>))", "bba", 0, 3); + e("(()(?(2)\\g<1>))", "", ONIGERR_NEVER_ENDING_RECURSION); n(" \xfd", ""); /* https://bugs.php.net/bug.php?id=77370 */ /* can't use \xfc00.. because compiler error: hex escape sequence out of range */