]> Cypherpunks.ru repositories - gostls13.git/blob - test/fixedbugs/issue61908.go
cmd/compile: make backingArrayPtrLen to return typecheck-ed nodes
[gostls13.git] / test / fixedbugs / issue61908.go
1 // compile
2
3 // Copyright 2023 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 func f(p []byte) int {
10         switch "" < string(p) {
11         case true:
12                 return 0
13         default:
14                 return 1
15         }
16 }