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.
9 // This file tests that when cgo -godefs sees a struct with a field
10 // that is an anonymous union, the first field in the union is
11 // promoted to become a field of the struct. See issue 6677 for
24 // Input for cgo -godefs.