summaryrefslogtreecommitdiff
path: root/libgo/misc/cgo/test/issue21708.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/misc/cgo/test/issue21708.go')
-rw-r--r--libgo/misc/cgo/test/issue21708.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/libgo/misc/cgo/test/issue21708.go b/libgo/misc/cgo/test/issue21708.go
deleted file mode 100644
index d413e3c57a9..00000000000
--- a/libgo/misc/cgo/test/issue21708.go
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2017 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.
-
-package cgotest
-
-// #include <stdint.h>
-// #define CAST_TO_INT64 (int64_t)(-1)
-import "C"
-import "testing"
-
-func test21708(t *testing.T) {
- if got, want := C.CAST_TO_INT64, -1; got != want {
- t.Errorf("C.CAST_TO_INT64 == %v, expected %v", got, want)
- }
-}