Bug 8597 - Empty description and reference of ModuleImport in some cases
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug8597 / foo.yang
diff --git a/yang/yang-parser-impl/src/test/resources/bugs/bug8597/foo.yang b/yang/yang-parser-impl/src/test/resources/bugs/bug8597/foo.yang
new file mode 100644 (file)
index 0000000..a35fcdd
--- /dev/null
@@ -0,0 +1,8 @@
+module foo {
+    namespace "foo";
+    prefix foo;
+    yang-version 1.1;
+
+    import bar { prefix bar; revision-date 1970-01-01; reference "bar-ref"; description "bar-desc"; }
+    import baz { prefix baz; reference "baz-ref"; description "baz-desc"; }
+}