test.lc 420 Bytes
Newer Older
1
2
3
4
typedef struct {
  int val;
} coord;

5
6
typedef int anInt;

7
8
9
typedef void avoid;
sample avoid doavoid;

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;
31
32
33
34
35

sample struct {
  int a;
  int b;
} twoInts;
36
37
38

sample anInt theFirstInt;
sample anInt theSecondInt;