github.com/ccccaoqing/test@v0.0.0-20220510085219-3985d23445c0/misc/cgo/test/issue4054b.go (about)

     1  // Copyright 2012 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.
     4  
     5  package cgotest
     6  
     7  /*
     8  typedef enum {
     9  	A = 0,
    10  	B,
    11  	C,
    12  	D,
    13  	E,
    14  	F,
    15  	G,
    16  	H,
    17  	I,
    18  	J,
    19  } issue4054b;
    20  */
    21  import "C"
    22  
    23  var issue4054b = []int{C.A, C.B, C.C, C.D, C.E, C.F, C.G, C.H, C.I, C.J}