test.lc 303 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
typedef struct {
  int val;
} coord;

typedef struct {
  coord x;
  coord y;
} point;

typedef struct {
  point start;
  point end;
} line;

typedef struct {
  int a;
  int b;
  boolean c;
} foo;

sample struct {
  line l1;
  line l2;
  foo  f;
} twoLines;
26
27
28
29
30

sample struct {
  int a;
  int b;
} twoInts;