1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
10 // This file tests that when cgo -godefs sees a struct with a field
11 // that is an anonymous union, the first field in the union is
12 // promoted to become a field of the struct. See issue 6677 for
25 // Input for cgo -godefs.