Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
48172195028414f995d8b195a0a943b1f3a12e62
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
rfc7950
/
bug6901
/
invalid-foo-union.yang
1
module invalid-foo-union {
2
namespace "foo";
3
prefix foo;
4
yang-version 1.1;
5
6
feature f;
7
8
typedef enum-typedef {
9
type enumeration {
10
enum one;
11
enum two {
12
if-feature f;
13
}
14
enum three;
15
}
16
}
17
18
typedef union-typedef {
19
type union {
20
type enum-typedef;
21
type int16;
22
}
23
}
24
25
leaf union-leaf {
26
type union-typedef;
27
default two;
28
}
29
}