1
0
mirror of https://github.com/golang/go synced 2024-11-22 17:04:40 -07:00
go/test/fixedbugs/bug203.go
Russ Cox a1391c2d13 fix one bug involving [...] constructors.
added iant's bug202 (in main code)
and ken's bug203 (in init function).
bug187 remains at large.

R=ken
OCL=34293
CL=34293
2009-09-02 23:26:13 -07:00

21 lines
345 B
Go

// $G $D/$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
var s [8]string
func
init()
{
s = [...]string{ "now", "is", "the", "time", "to", "fix", "this", "bug"}
}
func
main()
{
}