summaryrefslogtreecommitdiffstats
path: root/llvm/test/YAMLParser/spec-05-12.test
blob: 7ecc36dee8bf76c4e79df0027b828a99d19cc3c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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"
OpenPOWER on IntegriCloud