]> ocean-lang.org Git - ocean/blobdiff - csrc/oceani.mdc
oceani-tests: continue to improve test coverage
[ocean] / csrc / oceani.mdc
index 5e26237d7463b0f4e63939c553170959c1006ce0..e399a2a88374389ada32a9315ea51f84b822e877 100644 (file)
@@ -618,9 +618,9 @@ A separate function encoding these cases will simplify some code later.
        static int type_compat(struct type *require, struct type *have, int rules)
        {
                if ((rules & Rboolok) && have == Tbool)
-                       return 1;
+                       return 1;       // NOTEST
                if ((rules & Rnolabel) && have == Tlabel)
-                       return 0;
+                       return 0;       // NOTEST
                if (!require || !have)
                        return 1;
 
@@ -772,7 +772,7 @@ A separate function encoding these cases will simplify some code later.
                t->size = size;
                t->align = size > sizeof(void*) ? sizeof(void*) : size;
                if (t->size & (t->align - 1))
-                       t->size = (t->size | (t->align - 1)) + 1;
+                       t->size = (t->size | (t->align - 1)) + 1;       // NOTEST
                return t;
        }