summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/gcc61255.go
blob: 288fb54e517f319374046bd365a79903ab7cb78a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile

// Copyright 2014 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.

// PR61255: gccgo failed to compile IncDec statements on variadic functions.

package main

func main() {
	append([]byte{}, 0)[0]++
}