YAML: Enable the YAMLParser tests.
[oota-llvm.git] / test / YAMLParser / spec-05-12.test
diff --git a/test/YAMLParser/spec-05-12.test b/test/YAMLParser/spec-05-12.test
new file mode 100644 (file)
index 0000000..7ecc36d
--- /dev/null
@@ -0,0 +1,18 @@
+# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
+#
+# FIXME: This test should actually fail. Yaml-bench should report an error
+# that a tab is being used to indent a plain scalar at line 15.
+# We don't currently reject tabs as indentation.
+
+# Tabs do's and don'ts:
+# comment:
+quoted: "Quoted                "
+block: |
+  void main() {
+       printf("Hello, world!\n");
+  }
+elsewhere:     # separation
+       indentation, in plain scalar
+
+
+# CHECK: !!str "Quoted\t\t"