portable-devtools / go /src /cmd /cgo /internal /test /gcc68255.go
codekingpro's picture
Add files using upload-large-folder tool
da86720 verified
Raw
History Blame Contribute Delete
361 Bytes
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build cgo
package cgotest
import (
"testing"
"cmd/cgo/internal/test/gcc68255"
)
func testGCC68255(t *testing.T) {
if !gcc68255.F() {
t.Error("C global variable was not initialized")
}
}