Source file src/internal/types/testdata/fixedbugs/issue78346.go

     1  // Copyright 2026 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  //go:build ignore && !386 && !arm && !mips && !mipsle && !wasm
     6  
     7  package p
     8  
     9  const (
    10  	a = "x"
    11  	b = a + a
    12  	c = b + b
    13  	d = c + c
    14  	e = d + d
    15  	f = e + e
    16  	g = f + f
    17  	h = g + g
    18  	i = h + h
    19  	j = i + i
    20  	k = j + j
    21  	l = k + k
    22  	m = l + l
    23  	n = m + m
    24  	o = n + n
    25  	p = o + o
    26  	q = p + p
    27  	r = q + q
    28  	s = r + r
    29  	t = s + s
    30  	u = t + t
    31  	v = u + u
    32  	w = v + v
    33  	x = w + w
    34  	y = x + x
    35  	z = y + y
    36  	A = z + z
    37  	B = A + A
    38  	C = B + B
    39  	D = C + C
    40  	E = D + D
    41  	F = E + /* ERROR "constant string too long" */ E
    42  	G = F + F
    43  )
    44  

View as plain text