]> Cypherpunks.ru repositories - gostls13.git/blob - test/fixedbugs/issue51913.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / fixedbugs / issue51913.go
1 // run
2
3 // Copyright 2022 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 main
8
9 var _ = func() int {
10         a = false
11         return 0
12 }()
13
14 var a = true
15 var b = a
16
17 func main() {
18         if b {
19                 panic("FAIL")
20         }
21 }