Alien-Libxml2

 view release on metacpan or  search on metacpan

t/c/test.c  view on Meta::CPAN

#include <libxml/parser.h>
#include <libxml/tree.h>

/*
 * C version of the test can be used to see verify if alien is doing something wonky
 * compile and run with pkg-config:
 * cc `pkg-config --cflags libxml-2.0` t/c/test.c `pkg-config --libs libxml-2.0` && ./a.out
 * compile and run with xml2-config:
 * cc `xml2-config --cflags` t/c/test.c  `xml2-config --libs` && ./a.out
 */

int
main(int argc, char *argv[])
{
  xmlDoc *doc = NULL;



( run in 1.122 second using v1.01-cache-2.11-cpan-5467b0d2c73 )