1package checker_test
2
3type foo struct{}
4
5/*! consider giving a name to these results */
6func (f *foo) f1() (float64, float64) {
7	return 0, 0
8}
9
10/*! consider giving a name to these results */
11func f2() (int, float64) {
12	return 0, 0
13}
14
15/*! consider giving a name to these results */
16func f3() (int, int, error) {
17	return 0, 0, nil
18}
19
20/*! consider giving a name to these results */
21func f4() (int, int, error) {
22	return 0, 0, nil
23}
24
25/*! consider giving a name to these results */
26func f5() (int, float32, bool) {
27	return 0, 0, false
28}
29
30/*! consider giving a name to these results */
31func f6() (bool, bool) {
32	return false, false
33}
34
35/*! consider giving a name to these results */
36func f7() (int, float32, *foo) {
37	return 0, 0, nil
38}
39
40/*! consider giving a name to these results */
41func (f *foo) f8() (bool, bool) {
42	return false, false
43}
44
45/*! consider giving a name to these results */
46func (f *foo) f9() (bool, func() int) {
47	return false, nil
48}
49
50/*! consider giving a name to these results */
51func f10() (int, int, float64, float64) {
52	return 0, 0, 0, 0
53}
54
55/*! consider giving a name to these results */
56func doubleError() (error, error) {
57	return nil, nil
58}
59
60type namedInt int
61
62type namedStruct struct{}
63
64/*! consider giving a name to these results */
65func named2ptr() (namedInt, *namedInt) {
66	return 0, nil
67}
68
69/*! consider giving a name to these results */
70func named2() (namedInt, namedInt) {
71	return 0, 0
72}
73
74/*! consider giving a name to these results */
75func named3() (namedInt, namedStruct, namedInt) {
76	return 0, namedStruct{}, 0
77}
78
79/*! consider giving a name to these results */
80func namedAndPrimitive() (namedInt, int) {
81	return 0, 0
82}
83