summaryrefslogtreecommitdiffstats
path: root/Tests/FindLibXslt/Test/libexslt.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindLibXslt/Test/libexslt.c')
-rw-r--r--Tests/FindLibXslt/Test/libexslt.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/FindLibXslt/Test/libexslt.c b/Tests/FindLibXslt/Test/libexslt.c
new file mode 100644
index 0000000..ea6eb3d
--- /dev/null
+++ b/Tests/FindLibXslt/Test/libexslt.c
@@ -0,0 +1,16 @@
+#include <libexslt/exslt.h>
+#include <libxslt/xslt.h>
+#include <libxslt/xsltInternals.h>
+
+int main()
+{
+ xsltInit();
+
+ xsltStylesheet* style = xsltNewStylesheet();
+ exsltRegisterAll();
+ xsltFreeStylesheet(style);
+
+ xsltCleanupGlobals();
+
+ return 0;
+}