about summary refs log tree commit diff
path: root/string/tst-strfry.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/tst-strfry.c')
-rw-r--r--string/tst-strfry.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/string/tst-strfry.c b/string/tst-strfry.c
new file mode 100644
index 0000000000..2b40a39b13
--- /dev/null
+++ b/string/tst-strfry.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+#include <string.h>
+
+static int
+do_test (void)
+{
+  char str[] = "this is a test";
+
+  strfry (str);
+
+  return 0;
+}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"