Andrew Gerrand | 58ee3fc | 2015-08-21 11:46:56 +0100 | [diff] [blame] | 1 | // +build ignore |
2 | |||||
Andrew Gerrand | 44522de | 2015-08-21 11:46:56 +0100 | [diff] [blame] | 3 | package main |
4 | |||||
5 | // BEGIN1 OMIT | ||||
6 | var s = []struct { | ||||
7 | i int | ||||
8 | s string | ||||
9 | }{ | ||||
10 | struct { | ||||
11 | i int | ||||
12 | s string | ||||
13 | }{6 * 9, "Question"}, | ||||
14 | struct { | ||||
15 | i int | ||||
16 | s string | ||||
17 | }{42, "Answer"}, | ||||
18 | } | ||||
19 | |||||
20 | var t = []struct { | ||||
21 | i int | ||||
22 | s string | ||||
23 | }{ | ||||
24 | {6 * 9, "Question"}, | ||||
25 | {42, "Answer"}, | ||||
26 | } | ||||
27 | |||||
28 | // END OMIT | ||||
29 | |||||
30 | func main() {} |