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