summaryrefslogtreecommitdiffstats
path: root/src/gumbo-test.c
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2017-08-07 03:05:57 (GMT)
committerDavid Yip <yipdw@member.fsf.org>2017-08-07 06:54:30 (GMT)
commitafe5b06584dd10ef48365e8d312a4c349027c65d (patch)
treea7c39b2b5ae175a1ba39dd68f544c9acf86adc44 /src/gumbo-test.c
parent6206008ece8850c9a9bc47630e520d16b69dacda (diff)
downloadmxe-afe5b06584dd10ef48365e8d312a4c349027c65d.zip
mxe-afe5b06584dd10ef48365e8d312a4c349027c65d.tar.gz
mxe-afe5b06584dd10ef48365e8d312a4c349027c65d.tar.bz2
gumbo: add new package and test program
Diffstat (limited to 'src/gumbo-test.c')
-rw-r--r--src/gumbo-test.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gumbo-test.c b/src/gumbo-test.c
new file mode 100644
index 0000000..6d45f13
--- /dev/null
+++ b/src/gumbo-test.c
@@ -0,0 +1,13 @@
+/*
+ * This file is part of MXE. See LICENSE.md for licensing information.
+ */
+
+#include <gumbo.h>
+
+int main()
+{
+ GumboOutput *output = gumbo_parse("<blink>Hello world!</blink>");
+ gumbo_destroy_output(&kGumboDefaultOptions, output);
+
+ return 0;
+}