/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue67329.go
27 строк
440 B
Cuong Manh Le
cmd/compile: run checkbce after fuseLate pass
24 июл 2024, 02:50
24 июл 2024, 02:50
864aa86
Код
Авторство
О чём код?
// errorcheck -0 -d=ssa/check_bce/debug=1 // Copyright 2024 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. package x func Found(x []string) string { switch len(x) { default: return x[0] case 0, 1: return "" } } func NotFound(x []string) string { switch len(x) { default: return x[0] case 0: return "" case 1: return "" } }