diff options
Diffstat (limited to 'posix/tst-fnmatch2.c')
-rw-r--r-- | posix/tst-fnmatch2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/posix/tst-fnmatch2.c b/posix/tst-fnmatch2.c index 28a0871c1c..e66a01f592 100644 --- a/posix/tst-fnmatch2.c +++ b/posix/tst-fnmatch2.c @@ -28,6 +28,11 @@ do_test (void) puts ("Fourth fnmatch didn't return 0"); return 1; } + if (fnmatch ("[", "[", 0) != 0) + { + puts ("Fifth fnmatch didn't return 0"); + return 1; + } return 0; } |