summaryrefslogtreecommitdiffstats
path: root/llvm/test/YAMLParser/spec-10-08.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/YAMLParser/spec-10-08.test')
-rw-r--r--llvm/test/YAMLParser/spec-10-08.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/YAMLParser/spec-10-08.test b/llvm/test/YAMLParser/spec-10-08.test
new file mode 100644
index 00000000000..c4cb8e65ef2
--- /dev/null
+++ b/llvm/test/YAMLParser/spec-10-08.test
@@ -0,0 +1,13 @@
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
+#
+# FIXME: This test should fail. Yaml bench should report an error that a simple
+# key spans across multiple lines and that another simple key is longer than
+# 1024 characters.
+
+{
+multi-line
+ simple key : value,
+very long ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................(>1KB)................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... key: value
+}
+
+# CHECK: ? !!str "very long
OpenPOWER on IntegriCloud