github.com/guyezi/gofrontend@v0.0.0-20200228202240-7a62a49e62c0/libgo/misc/cgo/test/testdata/issue27054/test27054.go (about)

     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 _ C.EGLDisplay = 0 // Note: 0, not nil. That makes sure we use uintptr for this type.
    17  }