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

// 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))