aboutsummaryrefslogtreecommitdiff
path: root/tests/legacy/cgo_opts/cgo_opts_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/legacy/cgo_opts/cgo_opts_test.go')
-rw-r--r--tests/legacy/cgo_opts/cgo_opts_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/legacy/cgo_opts/cgo_opts_test.go b/tests/legacy/cgo_opts/cgo_opts_test.go
new file mode 100644
index 00000000..ff1f7077
--- /dev/null
+++ b/tests/legacy/cgo_opts/cgo_opts_test.go
@@ -0,0 +1,9 @@
+package cgo_opts
+
+import "testing"
+
+func TestCOpts(t *testing.T) {
+ if x != 3 {
+ t.Errorf("got %d; want 3", x)
+ }
+}