aboutsummaryrefslogtreecommitdiff
path: root/tests/test53.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test53.c')
-rw-r--r--tests/test53.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/test53.c b/tests/test53.c
new file mode 100644
index 000000000..b30ee561a
--- /dev/null
+++ b/tests/test53.c
@@ -0,0 +1,14 @@
+#include <stdio.h>
+#include "utstring.h"
+
+int main()
+{
+ UT_string *s;
+
+ utstring_new(s);
+ utstring_printf(s, "hello world!" );
+ printf("%s\n", utstring_body(s));
+
+ utstring_free(s);
+ return 0;
+}