summaryrefslogtreecommitdiffstats
path: root/tests/fuzz/corpus/lys_parse_mem/issue979_a.yang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz/corpus/lys_parse_mem/issue979_a.yang')
-rw-r--r--tests/fuzz/corpus/lys_parse_mem/issue979_a.yang41
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/fuzz/corpus/lys_parse_mem/issue979_a.yang b/tests/fuzz/corpus/lys_parse_mem/issue979_a.yang
new file mode 100644
index 0000000..1fe355c
--- /dev/null
+++ b/tests/fuzz/corpus/lys_parse_mem/issue979_a.yang
@@ -0,0 +1,41 @@
+module a {
+ namespace "a";
+ prefix a;
+
+ import b{
+ prefix b;
+ }
+
+ typedef HexOffset {
+ type string;
+ }
+
+ grouping group {
+ container action {
+ config false;
+ container register {
+ config false;
+ list location {
+ key "location";
+ config false;
+ leaf location {
+ type string;
+ }
+ b:action "write" {
+ input {
+ leaf reg-addr {
+ type HexOffset;
+ mandatory true;
+ }
+ }
+ output {
+ leaf result {
+ type string;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}