diff options
Diffstat (limited to 'llvm/test/YAMLParser/construct-omap.test')
-rw-r--r-- | llvm/test/YAMLParser/construct-omap.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/YAMLParser/construct-omap.test b/llvm/test/YAMLParser/construct-omap.test new file mode 100644 index 00000000000..b96d6799c7d --- /dev/null +++ b/llvm/test/YAMLParser/construct-omap.test @@ -0,0 +1,10 @@ +# RUN: yaml-bench -canonical %s + +# Explicitly typed ordered map (dictionary). +Bestiary: !!omap + - aardvark: African pig-like ant eater. Ugly. + - anteater: South-American ant eater. Two species. + - anaconda: South-American constrictor snake. Scaly. + # Etc. +# Flow style +Numbers: !!omap [ one: 1, two: 2, three : 3 ] |