mirror of
https://github.com/golang/go
synced 2024-11-12 03:50:21 -07:00
ebd27d62fd
cut the slowest tests down from a few seconds to under half a second. R=r DELTA=21 (6 added, 1 deleted, 14 changed) OCL=35509 CL=35519
15 lines
290 B
Go
15 lines
290 B
Go
// $G $F.go && $L $F.$A && ./$A.out
|
|
|
|
// Copyright 2009 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 main
|
|
|
|
func main() {
|
|
for i := 0; i < 1e5; i++ {
|
|
x := new([100]byte);
|
|
_ = x;
|
|
}
|
|
}
|