Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f2ac59c573cf34b4d4e8160d25d04b2fbc3d90ac
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
rfc7950
/
list-keys-test
/
incorrect-list-keys-test4.yang
1
module incorrect-list-keys-test4 {
2
yang-version 1.1;
3
namespace "incorrect-list-keys-test4";
4
prefix "test";
5
6
revision 2017-02-06 {
7
description "Bug 6855: Test for grouping stmt";
8
}
9
10
grouping a {
11
leaf a1 {
12
type int32;
13
if-feature feature-a;
14
}
15
leaf a2 {
16
when "../a1 = '2'";
17
type string;
18
}
19
}
20
21
grouping b {
22
leaf b1 {
23
type string;
24
}
25
uses test:a;
26
}
27
28
list invalid-list-b1 {
29
key a1;
30
uses b;
31
}
32
}