summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/main.cpp b/tests/main.cpp
new file mode 100644
index 0000000..ab3187c
--- /dev/null
+++ b/tests/main.cpp
@@ -0,0 +1,10 @@
+#include "../src/pugixml.hpp"
+
+int main()
+{
+ pugi::xml_document doc;
+ doc.load("<node/>");
+ doc.select_single_node("node");
+
+ // doc.select_single_node("//"); - fails? why? :)
+}