Test case for last regex problem.
[glibc.git] / posix / bug-regex31.c
blob2d5d6695d4250b4b4eed69411494dca7c359c5a3
1 #include <mcheck.h>
2 #include <regex.h>
3 #include <stdio.h>
4 #include <sys/types.h>
6 int main()
8 regex_t regex;
9 int rc;
11 mtrace ();
13 if ((rc = regcomp (&regex, "([0]", REG_EXTENDED)))
14 printf ("Error %d (expected)\n", rc);
15 return 0;