gcc68255.go 331 B

1234567891011121314151617
  1. // Copyright 2015 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. package cgotest
  5. import (
  6. "testing"
  7. "cgotest/gcc68255"
  8. )
  9. func testGCC68255(t *testing.T) {
  10. if !gcc68255.F() {
  11. t.Error("C global variable was not initialized")
  12. }
  13. }