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  package p
     6  
     7  const (
     8  	a = "x"
     9  	b = a + a
    10  	c = b + b
    11  	d = c + c
    12  	e = d + d
    13  	f = e + e
    14  	g = f + f
    15  	h = g + g
    16  	i = h + h
    17  	j = i + i
    18  	k = j + j
    19  	l = k + k
    20  	m = l + l
    21  	n = m + m
    22  	o = n + n
    23  	p = o + o
    24  	q = p + p
    25  	r = q + q
    26  	s = r + r
    27  	t = s + s
    28  	u = t + t
    29  	v = u + u
    30  	w = v + v
    31  	x = w + w
    32  	y = x + /* ERROR "constant string too long" */ x
    33  	z = y + y
    34  )
    35  

View as plain text