summaryrefslogtreecommitdiff
path: root/tests/test.c
blob: 2e23b8bb6553dc05ad80e6d4521599bbb0ccf7b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback