17 lines
241 B
C
17 lines
241 B
C
|
#include <mcheck.h>
|
||
|
#include <regex.h>
|
||
|
#include <stdio.h>
|
||
|
#include <sys/types.h>
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
regex_t regex;
|
||
|
int rc;
|
||
|
|
||
|
mtrace ();
|
||
|
|
||
|
if ((rc = regcomp (®ex, "([0]", REG_EXTENDED)))
|
||
|
printf ("Error %d (expected)\n", rc);
|
||
|
return 0;
|
||
|
}
|