[Support][YAML] Add support for accessing tags and tag handle substitution.
[lldb.git] / llvm / test / YAMLParser / spec-02-24.data
1 # RUN: yaml-bench -canonical %s | FileCheck %s
2
3 %TAG ! tag:clarkevans.com,2002:
4 --- !shape
5   # Use the ! handle for presenting
6   # tag:clarkevans.com,2002:circle
7 - !circle
8   center: &ORIGIN {x: 73, y: 129}
9   radius: 7
10 - !line
11   start: *ORIGIN
12   finish: { x: 89, y: 102 }
13 - !label
14   start: *ORIGIN
15   color: 0xFFEEBB
16   text: Pretty vector drawing.
17
18 #CHECK: !<tag:clarkevans.com,2002:shape>
19 #CHECK:   !<tag:clarkevans.com,2002:circle>
20 #CHECK:   !<tag:clarkevans.com,2002:line>
21 #CHECK:   !<tag:clarkevans.com,2002:label>