summaryrefslogtreecommitdiffstats
path: root/src/yaml-cpp-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yaml-cpp-test.cpp')
-rw-r--r--src/yaml-cpp-test.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/yaml-cpp-test.cpp b/src/yaml-cpp-test.cpp
new file mode 100644
index 0000000..2b91ba4
--- /dev/null
+++ b/src/yaml-cpp-test.cpp
@@ -0,0 +1,8 @@
+#include <assert.h>
+#include <yaml-cpp/yaml.h>
+
+int main() {
+ YAML::Node node = YAML::Load("[1, 2, 3]");
+ assert(node.IsSequence());
+ return 0;
+}