summaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test/test/fixedbugs/bug202.go
blob: 2fc91b5208b24b283e16fc0ee6030b28fab5aa0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// $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"};
	_ = v;
}
func main() {
	f();
}