BUG-4295: instantiate MERGE operations lazily
[yangtools.git] / yang / yang-data-impl / src / test / resources / bug-4295 / foo.yang
diff --git a/yang/yang-data-impl/src/test/resources/bug-4295/foo.yang b/yang/yang-data-impl/src/test/resources/bug-4295/foo.yang
new file mode 100644 (file)
index 0000000..be6abf3
--- /dev/null
@@ -0,0 +1,27 @@
+module foo {
+    namespace "foo";
+    prefix foo;
+
+    container root {
+        container sub-root {
+            list outer-list {
+                key "o-id";
+                leaf o-id {
+                    type string;
+                }
+                list inner-list {
+                    key "i-id";
+                    leaf i-id {
+                        type string;
+                    }
+                    leaf i {
+                        type string;
+                    }
+                }
+                leaf o {
+                    type string;
+                }
+            }
+        }
+    }
+}