diff options
| author | Cody <cody@codyq.dev> | 2023-06-26 18:49:29 -0500 |
|---|---|---|
| committer | Cody <cody@codyq.dev> | 2023-06-26 18:49:29 -0500 |
| commit | daecd330d5719e4a65d5b07f81209f99f423e6a2 (patch) | |
| tree | 5e2065a0d43932d39333631b60471c2ad96fa4aa /test.c | |
| parent | 00e423d30edf38a5e57c5c1c52cdb323c62850bc (diff) | |
| download | sloth-daecd330d5719e4a65d5b07f81209f99f423e6a2.tar.gz | |
vset, vget & vlen
Diffstat (limited to 'test.c')
| -rw-r--r-- | test.c | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -8,6 +8,12 @@ typedef struct { IntVec* test(); int testtwo(IntVec*); +int testthree(IntVec*); +int testfour(IntVec*); + +void testback(int x) { + printf("%d, ", x); +} int main() { IntVec* v = test(); @@ -38,5 +44,10 @@ int main() { int value = inner[i]; printf("%d ", value); } - puts("\n"); + puts("\n\n"); + int i = testthree(v); + printf("%d ", i); + puts("\n\n"); + testfour(v); + puts(""); } |
