xref: /aosp_15_r20/external/llvm/test/YAMLParser/construct-omap.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: yaml-bench -canonical %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker# Explicitly typed ordered map (dictionary).
4*9880d681SAndroid Build Coastguard WorkerBestiary: !!omap
5*9880d681SAndroid Build Coastguard Worker  - aardvark: African pig-like ant eater. Ugly.
6*9880d681SAndroid Build Coastguard Worker  - anteater: South-American ant eater. Two species.
7*9880d681SAndroid Build Coastguard Worker  - anaconda: South-American constrictor snake. Scaly.
8*9880d681SAndroid Build Coastguard Worker  # Etc.
9*9880d681SAndroid Build Coastguard Worker# Flow style
10*9880d681SAndroid Build Coastguard WorkerNumbers: !!omap [ one: 1, two: 2, three : 3 ]
11