Debian Codegraph @

src/internal/types/testdata/fixedbugs/issue20583.go

raw
1 // Copyright 2020 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package issue20583
6
7 const (
8 _ = 6e886451608 /* ERROR "malformed constant" */ /2
9 _ = 6e886451608i /* ERROR "malformed constant" */ /2
10 _ = 0 * 1e+1000000000 // ERROR "malformed constant"
11
12 x = 1e100000000
13 _ = x*x*x*x*x*x* /* ERROR "not representable" */ x
14 )