aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue26163.go
blob: d141a2797d60f15e5047d756d063fb3102305e75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// compile -N -d=softfloat -goexperiment noregabiargs

// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Issue 26163: dead store generated in late opt messes
// up store chain calculation.

package p

var i int
var A = ([]*int{})[i]

var F func(float64, complex128) int
var C chan complex128
var B = F(1, 1+(<-C))