mirror of
https://github.com/golang/go
synced 2024-11-22 22:00:02 -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
16 lines
304 B
Go
16 lines
304 B
Go
// $G $D/$F.go && $L $F.$A && ./$A.out || echo BUG should run
|
|
|
|
// 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 f() {
|
|
v := [...]string{"a", "b"};
|
|
}
|
|
func main() {
|
|
f();
|
|
}
|
|
|
|
|
|
|