summaryrefslogtreecommitdiffstats
path: root/llvm/test/YAMLParser/construct-null.data
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-04-03 23:09:22 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-04-03 23:09:22 +0000
commit22120c47a7adcc4b0a9962d447aee8a154e8f75d (patch)
tree577afb6d8e23f0c198a070174e1170f787d4edb4 /llvm/test/YAMLParser/construct-null.data
parent9511ec86f96399cd852565e61dbc44dc8b26e78f (diff)
downloadbcm5719-llvm-22120c47a7adcc4b0a9962d447aee8a154e8f75d.tar.gz
bcm5719-llvm-22120c47a7adcc4b0a9962d447aee8a154e8f75d.zip
Add YAML parser to Support.
llvm-svn: 153977
Diffstat (limited to 'llvm/test/YAMLParser/construct-null.data')
-rw-r--r--llvm/test/YAMLParser/construct-null.data20
1 files changed, 20 insertions, 0 deletions
diff --git a/llvm/test/YAMLParser/construct-null.data b/llvm/test/YAMLParser/construct-null.data
new file mode 100644
index 00000000000..51f8b61e24e
--- /dev/null
+++ b/llvm/test/YAMLParser/construct-null.data
@@ -0,0 +1,20 @@
+# RUN: yaml-bench -canonical %s
+
+# A document may be null.
+---
+---
+# This mapping has four keys,
+# one has a value.
+empty:
+canonical: ~
+english: null
+~: null key
+---
+# This sequence has five
+# entries, two have values.
+sparse:
+ - ~
+ - 2nd entry
+ -
+ - 4th entry
+ - Null
OpenPOWER on IntegriCloud