diff options
Diffstat (limited to 'tests/test.c')
-rw-r--r-- | tests/test.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/test.c b/tests/test.c new file mode 100644 index 0000000..2e23b8b --- /dev/null +++ b/tests/test.c @@ -0,0 +1,21 @@ +#include <stdio.h> + +struct foo { + long bar; + char baz; +}; + +struct foo bar = {1,2}; + +struct foo *barptr[2] = {&bar, &bar}; +struct foo **barptrptr[2] = {&barptr[0], &barptr[1]}; + +int main(void) { + int x = 5; + if (x) + x++; + long y = 6; + y++; + printf("Hello, World!\n"); + return 0; +} |