Source file test/fixedbugs/issue81240.go
1 // compile 2 3 // Copyright 2026 The Go Authors. All rights reserved. 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file. 6 7 package p 8 9 const W = 32 << (^uintptr(0) >> 63) // 32 or 64 10 11 type T struct { 12 a [1<<(W-30) - 1]byte 13 } 14 15 func f(x, y *T) { 16 *x = *y 17 } 18