Debian Codegraph @

src/test/06-Errors/error-array-size.ck

raw
1 int x[3];
2
3 // reserve capacity
4 6 => x.capacity;
5
6 // should throw exception, since 4 is beyond x.size(), even if within x.capacity
7 <<< x[4] >>>;
8