blob: 7ecc36dee8bf76c4e79df0027b828a99d19cc3c0 [file] [log] [blame]
Chandler Carruth49589f02012-07-02 18:37:59 +00001# RUN: yaml-bench -canonical %s 2>&1 | FileCheck %s
Michael J. Spencer93210e82012-04-03 23:09:22 +00002#
Alex Lorenz9e31c0c2015-05-07 18:08:46 +00003# FIXME: This test should actually fail. Yaml-bench should report an error
4# that a tab is being used to indent a plain scalar at line 15.
Michael J. Spencer93210e82012-04-03 23:09:22 +00005# We don't currently reject tabs as indentation.
Michael J. Spencer93210e82012-04-03 23:09:22 +00006
7# Tabs do's and don'ts:
8# comment:
9quoted: "Quoted "
10block: |
11 void main() {
12 printf("Hello, world!\n");
13 }
14elsewhere: # separation
15 indentation, in plain scalar
16
Alex Lorenz9e31c0c2015-05-07 18:08:46 +000017
18# CHECK: !!str "Quoted\t\t"