summaryrefslogtreecommitdiff
path: root/tests/headers/fnmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/fnmatch.c')
-rw-r--r--tests/headers/fnmatch.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/headers/fnmatch.c b/tests/headers/fnmatch.c
new file mode 100644
index 00000000..563425cc
--- /dev/null
+++ b/tests/headers/fnmatch.c
@@ -0,0 +1,17 @@
+// https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/fmtmsg.h.html
+
+#include "core.h"
+
+#include <fnmatch.h>
+
+TEST(fnmatch_h)
+{
+ MACRO(FNM_PATHNAME)
+ MACRO(FNM_NOESCAPE)
+ MACRO(FNM_PERIOD)
+ MACRO(FNM_CASEFOLD)
+ MACRO(FNM_NOMATCH)
+ MACRO(FNM_IGNORECASE)
+
+ FUNCTION(fnmatch, FN(int, const char *, const char *, int))
+}