1
0
mirror of https://github.com/golang/go synced 2024-11-24 08:00:12 -07:00
go/test/fixedbugs/gcc61255.go

14 lines
307 B
Go
Raw Normal View History

// 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]++
}