diff options
| author | Mistivia <i@mistivia.com> | 2025-06-09 01:42:18 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-06-09 01:42:52 +0800 |
| commit | 12eeb35015aba138a4e543c28c2ecee58d532440 (patch) | |
| tree | 11a7776977c661f5f5a7c013bed290ba96fa2c23 /tests/test_vec.c | |
| parent | 55f3a89f40a676fca7fb820037457c74cbdebb92 (diff) | |
pass by value in basic traits
Diffstat (limited to 'tests/test_vec.c')
| -rw-r--r-- | tests/test_vec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_vec.c b/tests/test_vec.c index 4cbc96f..6abdd78 100644 --- a/tests/test_vec.c +++ b/tests/test_vec.c @@ -11,7 +11,7 @@ int main() { for (int i = 0; i < 1000; i++) { assert(vec.size == i); - IntVector_push_back(&vec, &i); + IntVector_push_back(&vec, i); assert(*(IntVector_end(&vec) - 1) == i); } assert(*IntVector_begin(&vec) == 0); |
