YANGTOOLS-706: Split out yang-parser-rfc7950
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / rfc7950 / notifications-in-data-nodes / baz-invalid.yang
diff --git a/yang/yang-parser-rfc7950/src/test/resources/rfc7950/notifications-in-data-nodes/baz-invalid.yang b/yang/yang-parser-rfc7950/src/test/resources/rfc7950/notifications-in-data-nodes/baz-invalid.yang
new file mode 100644 (file)
index 0000000..660f93c
--- /dev/null
@@ -0,0 +1,26 @@
+module baz-invalid {
+    namespace baz-namespace;
+    prefix baz-prefix;
+    yang-version 1.1;
+
+    revision 2016-12-08;
+
+    container my-container {
+        choice my-choice {
+            case first {
+                leaf first-leaf {
+                    type string;
+                }
+            }
+            case second {
+                uses grouping-with-notification;
+            }
+        }
+    }
+
+    grouping grouping-with-notification {
+        notification notification-in-grouping {
+
+        }
+    }
+}
\ No newline at end of file