summaryrefslogtreecommitdiff
path: root/libgo/go/io/ioutil/blackhole_race.go
blob: eb640e05cfba8a0a134ed0ad2ad286d553f994d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2012 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.

// +build race

package ioutil

// Replaces the normal fast implementation with slower but formally correct one.

func blackHole() []byte {
	return make([]byte, 8192)
}