Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
44f7362fb76802a21af4d1a575be0722afe50905
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
rfc7950
/
list-keys-test
/
incorrect-list-keys-test3.yang
1
module incorrect-list-keys-test3 {
2
yang-version 1.1;
3
namespace "incorrect-list-keys-test3";
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
list invalid-list-a2 {
22
uses test:a;
23
key a2;
24
}
25
}