summaryrefslogtreecommitdiffstats
path: root/llvm/test/YAMLParser/spec-09-14.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/YAMLParser/spec-09-14.test')
-rw-r--r--llvm/test/YAMLParser/spec-09-14.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/llvm/test/YAMLParser/spec-09-14.test b/llvm/test/YAMLParser/spec-09-14.test
new file mode 100644
index 00000000000..55d881de433
--- /dev/null
+++ b/llvm/test/YAMLParser/spec-09-14.test
@@ -0,0 +1,21 @@
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
+#
+# FIXME: This test should actually fail. Yaml bench should report an error that
+# says that the '---' and '...' document start/end markers must not be specified
+# as the first content line of a non-indented plain scalar.
+# CHECK: !!str
+
+---
+--- ||| : foo
+... >>>: bar
+---
+[
+---
+,
+... ,
+{
+--- :
+... # Nested
+}
+]
+...
OpenPOWER on IntegriCloud