aboutsummaryrefslogtreecommitdiff
path: root/main.c
blob: 0442b92219022ad449e38c89483b732d8c9ce879 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}