source: tests/collections/vector-err-mod-with-excl-it.cfa @ 44856ed

enumforall-pointer-decayjacob/cs343-translationnew-ast-unique-expr
Last change on this file since 44856ed was 44856ed, checked in by Michael Brooks <mlbrooks@…>, 11 months ago

Baseline "new" vector, with iterators.

Implementation has not had thorough correctness testing, e.g. checking wraparound
behaviours, and at least one such case is commented as unimplemented.

Implementation has not been optimized at the instruction path level, though a basic
iteration performance check has it within 5% of c++ std::vector.

  • Property mode set to 100644
File size: 269 bytes
Line 
1/*
2Temporarily: no associated .expect file, not runnable with test.py.
3For human acceptance: Should compile, but crash with an assertion failure when run.
4Detail of this error reporting is work in progress.
5*/
6
7#define TRY_MOD_WHILE_LOCKED_1
8#include "vector-demo.cfa"
Note: See TracBrowser for help on using the repository browser.