llvm-project/llvm/test/YAMLParser/spec-05-12.test

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
440 B
Plaintext
Raw Normal View History

# 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"