summaryrefslogtreecommitdiffstats
path: root/llvm/test/YAMLParser/construct-pairs.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/YAMLParser/construct-pairs.test')
-rw-r--r--llvm/test/YAMLParser/construct-pairs.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/YAMLParser/construct-pairs.test b/llvm/test/YAMLParser/construct-pairs.test
new file mode 100644
index 00000000000..40f288d1d74
--- /dev/null
+++ b/llvm/test/YAMLParser/construct-pairs.test
@@ -0,0 +1,9 @@
+# RUN: yaml-bench -canonical %s
+
+# Explicitly typed pairs.
+Block tasks: !!pairs
+ - meeting: with team.
+ - meeting: with boss.
+ - break: lunch.
+ - meeting: with client.
+Flow tasks: !!pairs [ meeting: with team, meeting: with boss ]
OpenPOWER on IntegriCloud