pantry/projects/gnome.org/libxslt/test.c
Marc Seitz 3833cf86b0
+libxslt (#395)
* add libxslt

* fix libxslt test

* fix libxslt test

* fix libxslt test

* build w/ libxml2 include prefix

* add libxml2 prefix to inlcude

* restart ci

* test fix

* use pkg-config

* fix

* wip

* wip

* wip

* wip

---------

Co-authored-by: Max Howell <mxcl@me.com>
2023-02-19 13:02:44 -05:00

13 lines
274 B
C

#include <libxml/parser.h>
#include <libxslt/xslt.h>
#include <libxslt/xsltInternals.h>
int main() {
xmlDocPtr doc = xmlNewDoc(BAD_CAST "1.0");
xsltStylesheetPtr cur = NULL;
cur = xsltLoadStylesheetPI(doc);
xsltFreeStylesheet(cur);
xmlFreeDoc(doc);
return 0;
}