summaryrefslogtreecommitdiffstats
path: root/src/mxml-test.c
blob: 80be2eaaa00733c3178e585270574c9db41d340e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* This file is part of mingw-cross-env.       */
/* See doc/index.html for further information. */

#include <mxml.h>

int main(int argc, char *argv[])
{
    mxml_node_t *tree;

    (void)argc;
    (void)argv;

    tree = mxmlLoadString(NULL,
                          "<?xml version=\"1.0\"?>\n"
                          "<test/>\n",
                          MXML_TEXT_CALLBACK);

    mxmlDelete(tree);

    return 0;
}