Lines Matching full:integer
20 u = 1.0 << s // ERROR "invalid operation|shift of non-integer operand"
26 e1 = g(2.0 << s) // ERROR "invalid|shift of non-integer operand" "as type interface"
42 a3 = 1.0<<s + 0 // ERROR "invalid|shift of non-integer operand"
44 b3 = 1<<s + 1 + 1.0 // ERROR "invalid|shift of non-integer operand"
47 d3 int = complex(1<<s, 3) // ERROR "non-integer|cannot use.*as type int" "shift of type float64"
64 u = 1.0 << s // ERROR "non-integer|float64"
65 u1 = 1.0<<s != 0 // ERROR "non-integer|float64"
66 u2 = 1<<s != 1.0 // ERROR "non-integer|float64"
67 v float32 = 1 << s // ERROR "non-integer|float32"
78 _ = 1.<<s == 1. // ERROR "invalid|non-integer|shift of type float64"
87 _ = 1.<<s+1. == 1. // ERROR "invalid|non-integer|shift of type float64"
92 _ = 1.<<s == 1.<<s // ERROR "invalid|non-integer|shift of type float64"
101 _ = 1.<<s+1.<<s == 1. // ERROR "invalid|non-integer|shift of type float64"
110 _ = 1<<s+1.<<s == 1.<<s+1.<<s // ERROR "invalid|non-integer|shift of type float64"
114 _ = 1.<<s+1<<s == 1.<<s+1.<<s // ERROR "invalid|non-integer|shift of type float64"
116 _ = 1.<<s+1.<<s == 1<<s+1.<<s // ERROR "invalid|non-integer|shift of type float64"
117 _ = 1.<<s+1.<<s == 1.<<s+1<<s // ERROR "invalid|non-integer|shift of type float64"
118 _ = 1.<<s+1.<<s == 1.<<s+1.<<s // ERROR "invalid|non-integer|shift of type float64"
150 _ = a[1.<<s] // ERROR "integer|shift of type float64"
151 _ = a[1.1<<s] // ERROR "integer|shift of type float64"
156 _ = make([]int, 1.1<<s) // ERROR "non-integer|truncated"
159 _ = float32(1 << s) // ERROR "non-integer|shift of type float32"
161 _ = float32(1. << s) // ERROR "non-integer|shift of type float32"
162 _ = float32(1.1 << s) // ERROR "non-integer|shift of type float32"
169 _ = append(b, 1<<s) // ERROR "non-integer|type float32"
170 _ = append(b, 1.<<s) // ERROR "non-integer|type float32"
171 _ = append(b, 1.1<<s) // ERROR "non-integer|type float32"
173 _ = complex(1.<<s, 0) // ERROR "non-integer|shift of type float64"
174 _ = complex(1.1<<s, 0) // ERROR "non-integer|shift of type float64"
175 _ = complex(0, 1.<<s) // ERROR "non-integer|shift of type float64"
176 _ = complex(0, 1.1<<s) // ERROR "non-integer|shift of type float64"
180 _ = complex(1<<s, a4) // ERROR "non-integer|shift of type float64"
181 _ = complex(1<<s, b4) // ERROR "invalid|non-integer|"
199 _ = 1 << (1.1 << s) // ERROR "non-integer|truncated"
200 _ = 1. << (1 << s) // ERROR "non-integer|shift of type float64"
201 _ = 1. << (1. << s) // ERROR "non-integer|shift of type float64"
202 _ = 1.1 << (1.1 << s) // ERROR "invalid|non-integer|truncated"
207 _ = (1. << s) << (1 << s) // ERROR "non-integer|shift of type float64"
208 _ = (1. << s) << (1. << s) // ERROR "non-integer|shift of type float64"
209 _ = (1.1 << s) << (1.1 << s) // ERROR "invalid|non-integer|truncated"
227 y = 1 << (1 << s) // ERROR "non-integer|type float32"
228 y = 1 << (1. << s) // ERROR "non-integer|type float32"
230 y = 1. << (1 << s) // ERROR "non-integer|type float32"
231 y = 1. << (1. << s) // ERROR "non-integer|type float32"
235 z = (1 << s) << (1 << s) // ERROR "non-integer|type complex128"
236 z = (1 << s) << (1. << s) // ERROR "non-integer|type complex128"
238 z = (1. << s) << (1 << s) // ERROR "non-integer|type complex128"
239 z = (1. << s) << (1. << s) // ERROR "non-integer|type complex128"