schema compile CHANGE leaf-list support
diff --git a/src/parser_yang.c b/src/parser_yang.c
index cbac833..310acb1 100644
--- a/src/parser_yang.c
+++ b/src/parser_yang.c
@@ -2659,6 +2659,10 @@
         LOGVAL_YANG(ctx, LY_VCODE_MISSTMT, "type", "leaf-list");
         return LY_EVALID;
     }
+    if ((llist->min) && (llist->dflts)) {
+        LOGVAL_YANG(ctx, LY_VCODE_INCHILDSTMSCOMB, "min-elements", "default", "leaf-list");
+        return LY_EVALID;
+    }
 
     return ret;
 }