mirror of
https://github.com/golang/go
synced 2024-11-19 02:34:44 -07:00
a1391c2d13
added iant's bug202 (in main code) and ken's bug203 (in init function). bug187 remains at large. R=ken OCL=34293 CL=34293
21 lines
345 B
Go
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()
|
|
{
|
|
}
|