about summary refs log tree commit diff
path: root/posix/bug-regex13.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-08 22:39:08 +0000
committerRoland McGrath <roland@gnu.org>2002-11-08 22:39:08 +0000
commit2b49744308c65a95862b4ae197f27cec3ae8beaa (patch)
treeabcacbf00d1003ce98f3e84cdefb079736bec24d /posix/bug-regex13.c
parente8c1660f7ba480c5a17103b557941fc6db7a5146 (diff)
downloadglibc-2b49744308c65a95862b4ae197f27cec3ae8beaa.tar.gz
glibc-2b49744308c65a95862b4ae197f27cec3ae8beaa.tar.xz
glibc-2b49744308c65a95862b4ae197f27cec3ae8beaa.zip
* posix/bug-regex13.c (tests): Add new test.
Diffstat (limited to 'posix/bug-regex13.c')
-rw-r--r--posix/bug-regex13.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/bug-regex13.c b/posix/bug-regex13.c
index 589293a7c0..5ff5adeba3 100644
--- a/posix/bug-regex13.c
+++ b/posix/bug-regex13.c
@@ -33,6 +33,7 @@ static struct
 } tests[] = {
   {RE_BACKSLASH_ESCAPE_IN_LISTS, "[0\\-9]", "1", -1}, /* It should not match.  */
   {RE_BACKSLASH_ESCAPE_IN_LISTS, "[0\\-9]", "-", 0}, /* It should match.  */
+  {RE_SYNTAX_POSIX_BASIC, "s1\n.*\ns3", "s1\ns2\ns3", 0}
 };
 
 int