Bug 8307: Add the option for activating deviation statements
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug7440 / foo.yang
index 3afa573d9db50333753507fbcae3e399d10f06aa..7ca75a1d60604142730be7b9bb4821143912c40b 100644 (file)
@@ -2,17 +2,18 @@ module foo {
     namespace foo-ns;
     prefix foo-prfx;
 
+    import bar {
+        prefix bar;
+        revision-date 2016-12-23;
+    }
+
     revision 2016-12-23;
 
-    deviation "/test-leaf" {
+    deviation "/bar:test-leaf" {
         deviate replace {
             type uint32 {
                 range "5..50";
             }
         }
     }
-
-    leaf test-leaf {
-        type int32;
-    }
 }
\ No newline at end of file