1//gofmt -r=int->bool 2 3// Copyright 2011 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 7package p 8 9// Slices have nil Len values in the corresponding ast.ArrayType 10// node and reflect.NewValue(slice.Len) is an invalid reflect.Value. 11// The rewriter must not crash in that case. Was issue 1696. 12func f() []bool {}