| 268 | } |
| 269 | |
| 270 | int32_t testLengthAnnotationInStruct(const listStruct *s) |
| 271 | { |
| 272 | for (uint32_t i = 0; i < s->len; ++i) |
| 273 | { |
| 274 | if ((int32_t)(i + 1) != s->myList[i]) |
| 275 | { |
| 276 | return 0; |
| 277 | } |
| 278 | } |
| 279 | return 10; |
| 280 | } |
| 281 | |
| 282 | listStruct *returnSentStructLengthAnnotation(const listStruct *s) |
| 283 | { |
no outgoing calls
no test coverage detected