Bug 8307: Add the option for activating deviation statements
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug8307 / foo-invalid.yang
diff --git a/yang/yang-parser-impl/src/test/resources/bugs/bug8307/foo-invalid.yang b/yang/yang-parser-impl/src/test/resources/bugs/bug8307/foo-invalid.yang
new file mode 100644 (file)
index 0000000..b1cad54
--- /dev/null
@@ -0,0 +1,12 @@
+module foo {
+    namespace foo-ns;
+    prefix foo;
+
+    revision 2017-05-16;
+
+    deviation "/my-foo-cont" {
+        deviate not-supported;
+    }
+
+    container my-foo-cont {}
+}
\ No newline at end of file