Add failing test for size_t vector access

This commit is contained in:
Jason Turner 2015-04-06 06:40:03 -06:00
parent 7f1cd29a2c
commit 9422bc7b2d

View File

@ -1,2 +1,8 @@
auto x = [1, 2, 3] auto x = [1, 2, 3]
assert_equal(3, x[2]) assert_equal(3, x[2])
for (auto i = x.size() - 1; i >= 0; --i)
{
print(x[i]);
}