summaryrefslogtreecommitdiffstats
path: root/llvm/test/YAMLParser/spec-06-01.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/YAMLParser/spec-06-01.test')
-rw-r--r--llvm/test/YAMLParser/spec-06-01.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/test/YAMLParser/spec-06-01.test b/llvm/test/YAMLParser/spec-06-01.test
new file mode 100644
index 00000000000..95b26bdb385
--- /dev/null
+++ b/llvm/test/YAMLParser/spec-06-01.test
@@ -0,0 +1,16 @@
+# RUN: yaml-bench -canonical %s
+
+ # Leading comment line spaces are
+ # neither content nor indentation.
+
+Not indented:
+ By one space: |
+ By four
+ spaces
+ Flow style: [ # Leading spaces
+ By two, # in flow style
+ Also by two, # are neither
+# Tabs are not allowed:
+# Still by two # content nor
+ Still by two # content nor
+ ] # indentation.
OpenPOWER on IntegriCloud