summaryrefslogtreecommitdiffstats
path: root/tests/fuzz/corpus/lys_parse_mem/issue724.yang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz/corpus/lys_parse_mem/issue724.yang')
-rw-r--r--tests/fuzz/corpus/lys_parse_mem/issue724.yang22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/fuzz/corpus/lys_parse_mem/issue724.yang b/tests/fuzz/corpus/lys_parse_mem/issue724.yang
new file mode 100644
index 0000000..f4c37c4
--- /dev/null
+++ b/tests/fuzz/corpus/lys_parse_mem/issue724.yang
@@ -0,0 +1,22 @@
+module mod1 {
+ namespace "urn:all";
+ prefix av;
+ yang-version 1.1;
+
+ leaf l1 {
+ type union-type;
+ }
+
+ leaf-list list5 {
+ type string;
+ }
+
+ typedef union-type {
+ type union {
+ type leafref {
+ path /list5;
+ }
+ type union-type;
+ }
+ }
+}