Augments should get disabled if target is unsupported
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / bugs / YT1370 / foo.yang
diff --git a/yang/yang-parser-rfc7950/src/test/resources/bugs/YT1370/foo.yang b/yang/yang-parser-rfc7950/src/test/resources/bugs/YT1370/foo.yang
new file mode 100644 (file)
index 0000000..20446ae
--- /dev/null
@@ -0,0 +1,14 @@
+module foo {
+  prefix foo;
+  namespace foo;
+
+  feature foo;
+
+  container foo {
+    if-feature foo;
+  }
+
+  augment /foo {
+    container bar;
+  }
+}