...

Source file src/cmd/cgo/internal/test/issue27054/test27054.go

Documentation: cmd/cgo/internal/test/issue27054

     1  // Copyright 2018 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 issue27054
     6  
     7  /*
     8  #include "egl.h"
     9  */
    10  import "C"
    11  import (
    12  	"testing"
    13  )
    14  
    15  func Test27054(t *testing.T) {
    16  	var (
    17  		// Note: 0, not nil. That makes sure we use uintptr for these types.
    18  		_ C.EGLDisplay = 0
    19  		_ C.EGLConfig  = 0
    20  	)
    21  }
    22  

View as plain text