diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +// This is the test unit, not the actual code. + +#include "moonshine.h" + +int main() { + array(int) test = new (int); + + push(test, 2); + for(int i = 45; i > 7; i--) push(test, i % 3); + + print("Wowie: ", get(test, 30)); + + return 0; +} |
