]> ocean-lang.org Git - ocean/blobdiff - csrc/oceani-tests.mdc
oceani: move ->prepare_type call (back) into val_alloc()
[ocean] / csrc / oceani-tests.mdc
index 46c1a09530a8c640057529e0668fa8422a3fa01d..e7e9f22486df6bdac410d996b2d7de05f7bd4e1b 100644 (file)
@@ -551,8 +551,9 @@ Time to test if structure declarations and accesses work correctly.
 
 ###### test: structs
 
+       const three ::= 3
        struct foo
-               size:[3]number
+               size:[three]number
                name:string
                active:Boolean