1root {
2 module = "test";
3 template foo_base {
4 term3 = [2,2];
5 template attr {
6 term4 = 4;
7 }
8 }
9
10 foo_1 :: foo_base {
11 attr1 :: attr {
12 term4 = 1;
13 }
14 attr2 :: attr {
15 term4 = 2;
16 }
17 }
18
19 foo_2 :: foo_base {
20 term3 = [1, 2, 3, 4];
21 }
22}