raz / test / doc / Group.expect

21 lines · 363 B · raw · history · last change bfb011ac

1module Group;
2 Group: a comment before const, type or var heads its group.
3 Doc's test of it.
4
5 Colours, one bit each.
6
7const Red* = 1; (* the first *)
8
9const Green* = 2;
10
11const Blue* = 4; (* the last *)
12
13 Where it is.
14
15type Point* = record x*, y*: INT; end; (* one place *)
16
17 A comment that stands alone.
18
19var count*: INT;
20
21proc main*;