aboutsummaryrefslogtreecommitdiff
path: root/lib/mstch/test/data/recursion_with_same_names.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mstch/test/data/recursion_with_same_names.hpp')
-rw-r--r--lib/mstch/test/data/recursion_with_same_names.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/mstch/test/data/recursion_with_same_names.hpp b/lib/mstch/test/data/recursion_with_same_names.hpp
new file mode 100644
index 0000000..a9170db
--- /dev/null
+++ b/lib/mstch/test/data/recursion_with_same_names.hpp
@@ -0,0 +1,8 @@
+const auto recursion_with_same_names_data = mstch::map{
+ {"name", std::string{"name"}},
+ {"description", std::string{"desc"}},
+ {"terms", mstch::array{
+ mstch::map{{"name", std::string{"t1"}}, {"index", 0}},
+ mstch::map{{"name", std::string{"t2"}}, {"index", 1}}
+ }}
+}; \ No newline at end of file